1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 21:13:05 +01:00

Fix more warnings

This commit is contained in:
Ted John
2017-01-12 17:36:05 +00:00
parent ec07d61d7b
commit 18597bacb1
9 changed files with 40 additions and 57 deletions

View File

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