Codechange: strongly type GroupID

This commit is contained in:
Rubidium
2025-01-19 17:52:52 +01:00
committed by rubidium42
parent 798e9f229c
commit 1e24b41f22
7 changed files with 21 additions and 20 deletions

View File

@@ -17,7 +17,7 @@
#include "engine_type.h"
#include "livery.h"
typedef Pool<Group, GroupID, 16, 64000> GroupPool;
using GroupPool = Pool<Group, GroupID, 16, GroupID::End().base()>;
extern GroupPool _group_pool; ///< Pool of groups.
/** Statistics and caches on the vehicles in a group. */