From 845a5d31b27c15f5b61f15e1cfc5f5d305b4878c Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 19 Oct 2011 18:48:53 +0000 Subject: Send MAXPLAYERS value for game on connect to server. Make server adapt its player limit to match. Update GUI code to adjust waiting screen list size appropriately. Subversion-branch: /branches/v2-branch Subversion-revision: 2442 --- src/strife/d_net.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/strife') diff --git a/src/strife/d_net.c b/src/strife/d_net.c index 15a48873..a8d91136 100644 --- a/src/strife/d_net.c +++ b/src/strife/d_net.c @@ -179,6 +179,7 @@ static void SaveGameSettings(net_gamesettings_t *settings, && M_CheckParm("-longtics") == 0; connect_data->drone = false; + connect_data->max_players = MAXPLAYERS; //! // @category net -- cgit v1.2.3