forked from rosebudai/OpenRCT2-Web
Refactor code base to allow easy addition of new object types
This commit is contained in:
1 parent
fcf507e051
commit
f8271e93b0
8 files changed
+192
-164
No files matched your search
@@ -223,7 +223,7 @@ void sub_6AB211()
|
||||
sint32 numObjects = (sint32)object_repository_get_items_count();
|
||||
_objectSelectionFlags = std::vector<uint8>(numObjects);
|
||||
|
||||
for (uint8 objectType = 0; objectType < 11; objectType++) {
|
||||
for (uint8 objectType = 0; objectType < OBJECT_TYPE_COUNT; objectType++) {
|
||||
_numSelectedObjectsForType[objectType] = 0;
|
||||
_numAvailableObjectsForType[objectType] = 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user