1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 23:04:36 +01:00

Fix LargeSceneryObject and WaterObject not tearing down the image ID

This commit is contained in:
Silent
2021-10-09 21:49:40 +02:00
parent 3e64a227e5
commit daef940bc8
3 changed files with 3 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ void WaterObject::Unload()
language_free_object_string(_legacyType.string_idx);
_legacyType.string_idx = 0;
_legacyType.image_id = 0;
}
void WaterObject::DrawPreview(rct_drawpixelinfo* dpi, int32_t width, int32_t height) const