forked from rosebudai/OpenRCT2-Web
Exclude peep animation objects in EditorRemoveUnusedObjects
This commit is contained in:
1 parent
0fb1fabc52
commit
c0f846c2f5
1 file changed
+4
@@ -750,6 +750,10 @@ int32_t EditorRemoveUnusedObjects()
|
||||
if (objectType == ObjectType::PeepNames)
|
||||
continue;
|
||||
|
||||
// Avoid deleting peep animation objects, as it ensures we don't delete the last ones for a kind of peep.
|
||||
if (objectType == ObjectType::PeepAnimations)
|
||||
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