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:
@@ -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;
|
||||
|
||||
// It’s hard to determine exactly if a scenery group is used, so do not remove these automatically.
|
||||
if (objectType == ObjectType::sceneryGroup)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user