mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 05:53:02 +01:00
Replace object_entry_get_type() with method (#10937)
This commit is contained in:
committed by
GitHub
parent
c31ef8e635
commit
18ebe73dfa
@@ -1078,7 +1078,7 @@ static int32_t cc_load_object(InteractiveConsole& console, const arguments_t& ar
|
||||
}
|
||||
uint32_t groupIndex = object_manager_get_loaded_object_entry_index(loadedObject);
|
||||
|
||||
uint8_t objectType = object_entry_get_type(entry);
|
||||
uint8_t objectType = entry->GetType();
|
||||
if (objectType == OBJECT_TYPE_RIDE)
|
||||
{
|
||||
// Automatically research the ride so it's supported by the game.
|
||||
|
||||
Reference in New Issue
Block a user