mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 05:53:02 +01:00
Add object_entry_get_type()
This commit is contained in:
committed by
Michael Steenbeek
parent
504e635933
commit
b1ab852fb7
@@ -100,7 +100,7 @@ public:
|
||||
loadedObject = ori->LoadedObject;
|
||||
if (loadedObject == nullptr)
|
||||
{
|
||||
uint8 objectType = entry->flags & 0x0F;
|
||||
uint8 objectType = object_entry_get_type(entry);
|
||||
sint32 slot = FindSpareSlot(objectType);
|
||||
if (slot != -1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user