mirror of
https://github.com/rosebudai/OpenRCT2-Web.git
synced 2026-12-05 20:55:14 +01:00
bugHunt: correcting code to compile
code does not compile yet
This commit is contained in:
1 parent
832fd69822
commit
dc93cacbee
9 files changed
+53
-28
No files matched your search
@@ -1129,7 +1129,7 @@ static int32_t cc_object_count(InteractiveConsole& console, [[maybe_unused]] con
|
||||
int32_t entryGroupIndex = 0;
|
||||
for (; entryGroupIndex < object_entry_group_counts[i]; entryGroupIndex++)
|
||||
{
|
||||
if (object_entry_get_chunk(i, entryGroupIndex) == nullptr)
|
||||
if (object_entry_get_chunk(static_cast<ObjectType>(i), entryGroupIndex) == nullptr)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user