Codechange: strongly type LeagueTableID and LeagueTableElementID

This commit is contained in:
Rubidium
2025-01-31 21:37:32 +01:00
committed by rubidium42
parent 6aada55e96
commit 6c8915fdbc
5 changed files with 12 additions and 11 deletions

View File

@@ -298,9 +298,8 @@ private:
}
public:
ScriptLeagueWindow(WindowDesc &desc, LeagueTableID table) : Window(desc)
ScriptLeagueWindow(WindowDesc &desc, WindowNumber table) : Window(desc), table(table)
{
this->table = table;
this->BuildTable();
this->InitNested(table);
}