1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00

Avoid considering climate objects as 'unused'

This commit is contained in:
Aaron van Geffen
2025-03-01 19:34:30 +01:00
parent ac06d99408
commit fb9df58e1c

View File

@@ -753,6 +753,10 @@ int32_t EditorRemoveUnusedObjects()
if (objectType == ObjectType::peepAnimations)
continue;
// Avoid deleting climate objects, as they're not bound to entities.
if (objectType == ObjectType::climate)
continue;
// Its hard to determine exactly if a scenery group is used, so do not remove these automatically.
if (objectType == ObjectType::sceneryGroup)
continue;