Codechange: Replace FOR_ALL_GROUPS with range-based for loops
This commit is contained in:
@@ -95,9 +95,6 @@ static inline bool IsAllGroupID(GroupID id_g)
|
||||
return id_g == ALL_GROUP;
|
||||
}
|
||||
|
||||
#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)
|
||||
|
||||
|
||||
uint GetGroupNumEngines(CompanyID company, GroupID id_g, EngineID id_e);
|
||||
uint GetGroupNumVehicle(CompanyID company, GroupID id_g, VehicleType type);
|
||||
|
||||
Reference in New Issue
Block a user