(svn r13521) -Codechange: Use GUIList sorting instead of poll & sort for CompanyLeagueWindow

This commit is contained in:
skidd13
2008-06-15 15:48:33 +00:00
parent 704c9be0b8
commit 1ddafcadd2
2 changed files with 55 additions and 16 deletions

View File

@@ -818,6 +818,8 @@ CommandCost CmdPlayerCtrl(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
{
if (flags & DC_EXEC) _current_player = OWNER_NONE;
InvalidateWindowData(WC_COMPANY_LEAGUE, 0, 0);
switch (p1) {
case 0: { /* Create a new player */
/* Joining Client: