mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-10 08:00:05 +00:00
Fix: allow only 255 league tables, as 255 is the invalid id sentinel
This commit is contained in:
parent
c377c4740d
commit
1dfd0c19f4
@ -20,7 +20,7 @@ bool IsValidLink(Link link);
|
|||||||
typedef Pool<LeagueTableElement, LeagueTableElementID, 64, 64000> LeagueTableElementPool;
|
typedef Pool<LeagueTableElement, LeagueTableElementID, 64, 64000> LeagueTableElementPool;
|
||||||
extern LeagueTableElementPool _league_table_element_pool;
|
extern LeagueTableElementPool _league_table_element_pool;
|
||||||
|
|
||||||
typedef Pool<LeagueTable, LeagueTableID, 4, 256> LeagueTablePool;
|
typedef Pool<LeagueTable, LeagueTableID, 4, 255> LeagueTablePool;
|
||||||
extern LeagueTablePool _league_table_pool;
|
extern LeagueTablePool _league_table_pool;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user