1
0
Fork 0

Fix: allow only 255 league tables, as 255 is the invalid id sentinel

pull/12616/head
Rubidium 2024-04-20 16:13:04 +02:00 committed by Peter Nelson
parent 7c529cfc4b
commit 1897ddec41
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ bool IsValidLink(Link link);
typedef Pool<LeagueTableElement, LeagueTableElementID, 64, 64000> LeagueTableElementPool;
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;