Use a std::vector for Object::counts

This commit is contained in:
Jonathan G Rennison
2023-02-10 23:36:40 +00:00
parent c95a3be243
commit 26dc69ff13
2 changed files with 6 additions and 3 deletions

View File

@@ -41,7 +41,7 @@
ObjectPool _object_pool("Object");
INSTANTIATE_POOL_METHODS(Object)
uint16 Object::counts[NUM_OBJECTS];
std::vector<uint16> Object::counts;
/**
* Get the object associated with a tile.