# HG changeset patch # User truelight # Date 1102949371 0 # Node ID 334872f978c34966c66a55a917fd433ed18a28e2 # Parent c9050bce280f16b1d9a105a1920cfc568875aa31 (svn r1051) -Fix: [Network] New Company button is disabled when there is no more space for a new company diff -r c9050bce280f -r 334872f978c3 network_gui.c --- 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);