diff options
Diffstat (limited to 'src/group.h')
-rw-r--r-- | src/group.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/group.h b/src/group.h index 7672f3862..d8680c294 100644 --- a/src/group.h +++ b/src/group.h @@ -94,18 +94,6 @@ static inline bool IsAllGroupID(GroupID id_g) #define FOR_ALL_GROUPS_FROM(var, start) FOR_ALL_ITEMS_FROM(Group, group_index, var, start) #define FOR_ALL_GROUPS(var) FOR_ALL_GROUPS_FROM(var, 0) -/** - * Get the current size of the GroupPool - */ -static inline uint GetGroupArraySize() -{ - const Group *g; - uint num = 0; - - FOR_ALL_GROUPS(g) num++; - - return num; -} uint GetGroupNumEngines(CompanyID company, GroupID id_g, EngineID id_e); |