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

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

No files matched your search

@@ -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)