mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 21:13:05 +01:00
Fix more warnings
This commit is contained in:
@@ -644,17 +644,6 @@ IObjectRepository * GetObjectRepository()
|
||||
return _objectRepository.get();
|
||||
}
|
||||
|
||||
static int GetObjectEntryIndex(uint8 objectType, uint8 entryIndex)
|
||||
{
|
||||
int result = 0;
|
||||
for (uint8 i = 0; i < objectType; i++)
|
||||
{
|
||||
result += object_entry_group_counts[i];
|
||||
}
|
||||
result += entryIndex;
|
||||
return result;
|
||||
}
|
||||
|
||||
extern "C"
|
||||
{
|
||||
rct_object_entry * object_list_find(rct_object_entry * entry)
|
||||
@@ -962,10 +951,3 @@ extern "C"
|
||||
return (int)checksum;
|
||||
}
|
||||
}
|
||||
|
||||
static void ReportMissingObject(const rct_object_entry * entry)
|
||||
{
|
||||
utf8 objName[9] = { 0 };
|
||||
Memory::Copy(objName, entry->name, 8);
|
||||
Console::Error::WriteLine("[%s] Object not found.", objName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user