@@ -65,7 +65,7 @@ struct Object : ObjectPool::PoolItem<&_object_pool> {
|
||||
* @param type ObjectType to query
|
||||
* @pre type < NUM_OBJECTS
|
||||
*/
|
||||
static inline uint16 GetTypeCount(ObjectType type)
|
||||
static inline uint16_t GetTypeCount(ObjectType type)
|
||||
{
|
||||
dbg_assert(type < NUM_OBJECTS);
|
||||
if (type >= counts.size()) return 0;
|
||||
@@ -79,7 +79,7 @@ struct Object : ObjectPool::PoolItem<&_object_pool> {
|
||||
}
|
||||
|
||||
protected:
|
||||
static std::vector<uint16> counts; ///< Number of objects per type ingame
|
||||
static std::vector<uint16_t> counts; ///< Number of objects per type ingame
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user