mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 19:43:06 +01:00
refactor: changed ObjectType enum to strong enum
code does not compile yet
This commit is contained in:
@@ -1073,7 +1073,7 @@ static int32_t cc_load_object(InteractiveConsole& console, const arguments_t& ar
|
||||
}
|
||||
auto groupIndex = object_manager_get_loaded_object_entry_index(loadedObject);
|
||||
|
||||
uint8_t objectType = entry->GetType();
|
||||
ObjectType objectType = entry->GetType();
|
||||
if (objectType == ObjectType::Ride)
|
||||
{
|
||||
// Automatically research the ride so it's supported by the game.
|
||||
|
||||
Reference in New Issue
Block a user