mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 15:24:30 +01:00
Issue caused by the unload image function not resetting the image id back to invalid. Also noticed that water wasn't correctly cleaning up. Fix #19918, #19926, #19927, #19928, #19929, #19931
This commit is contained in:
@@ -197,6 +197,7 @@ void Object::UnloadImages()
|
||||
if (_baseImageId != ImageIndexUndefined)
|
||||
{
|
||||
GfxObjectFreeImages(_baseImageId, GetImageTable().GetCount());
|
||||
_baseImageId = ImageIndexUndefined;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user