1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00

Prepare object indices for uint16_t (part 2) (#10966)

This commit is contained in:
Michael Steenbeek
2020-03-18 21:27:53 +01:00
committed by GitHub
parent ae6e53153b
commit d86dce17e8
14 changed files with 89 additions and 85 deletions

View File

@@ -1076,7 +1076,7 @@ static int32_t cc_load_object(InteractiveConsole& console, const arguments_t& ar
console.WriteLineError("Unable to load object.");
return 1;
}
uint32_t groupIndex = object_manager_get_loaded_object_entry_index(loadedObject);
auto groupIndex = object_manager_get_loaded_object_entry_index(loadedObject);
uint8_t objectType = entry->GetType();
if (objectType == OBJECT_TYPE_RIDE)