forked from rosebudai/OpenRCT2-Web
Take kAllObjectTypes internal as well
This commit is contained in:
1 parent
e898e9211d
commit
cec251bb63
5 files changed
+37
-30
No files matched your search
@@ -1311,7 +1311,7 @@ static_assert(_objectTypeNames.size() == EnumValue(ObjectType::Count));
|
||||
|
||||
static int32_t ConsoleCommandCountObjects(InteractiveConsole& console, [[maybe_unused]] const arguments_t& argv)
|
||||
{
|
||||
for (auto objectType : ObjectTypes)
|
||||
for (auto objectType : getAllObjectTypes())
|
||||
{
|
||||
uint32_t entryGroupIndex = 0;
|
||||
for (; entryGroupIndex < getObjectEntryGroupCount(objectType); entryGroupIndex++)
|
||||
|
||||
Reference in new issue
Block a user