mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 20:13:07 +01:00
* Do not try to export official objects * Do not override legacy object's source games * Amend changelog
This commit is contained in:
committed by
GitHub
parent
89ae2b51d6
commit
13a2f67400
@@ -656,8 +656,16 @@ bool IsObjectCustom(const ObjectRepositoryItem* object)
|
||||
return false;
|
||||
}
|
||||
|
||||
// Validate the object is not one from base game or expansion pack
|
||||
return !(object->ObjectEntry.flags & 0xF0);
|
||||
switch (object->GetFirstSourceGame())
|
||||
{
|
||||
case OBJECT_SOURCE_RCT2:
|
||||
case OBJECT_SOURCE_WACKY_WORLDS:
|
||||
case OBJECT_SOURCE_TIME_TWISTER:
|
||||
case OBJECT_SOURCE_OPENRCT2_OFFICIAL:
|
||||
return false;
|
||||
default:
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
const rct_object_entry* object_list_find(rct_object_entry* entry)
|
||||
|
||||
Reference in New Issue
Block a user