mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 05:23:04 +01:00
Add flag to mark an object as a compatibility object
This commit is contained in:
@@ -566,6 +566,11 @@ ResultWithMessage WindowEditorObjectSelectionSelectObject(
|
||||
return { true };
|
||||
}
|
||||
|
||||
if (item->Flags & ObjectItemFlags::IsCompatibilityObject)
|
||||
{
|
||||
return ObjectSelectionError(isMasterObject, STR_OBJECT_SELECTION_ERR_COMPAT_OBJECT);
|
||||
}
|
||||
|
||||
ObjectType objectType = item->Type;
|
||||
uint16_t maxObjects = object_entry_group_counts[EnumValue(objectType)];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user