Take kAllObjectTypes internal as well

This commit is contained in:
Aaron van Geffen committed 2024-03-27 21:26:07 +01:00
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++)