(svn r1051) -Fix: [Network] New Company button is disabled when there is no more
space for a new company
--- a/network_gui.c Mon Dec 13 14:43:41 2004 +0000
+++ b/network_gui.c Mon Dec 13 14:49:31 2004 +0000
@@ -656,6 +656,9 @@
} else
w->disabled_state = 0;
+ if (_network_lobby_company_count == MAX_PLAYERS)
+ w->disabled_state |= (1<<8);
+
DrawWindowWidgets(w);
SetDParam(0, _str_game_name);