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/doom/d_net.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/doom/d_net.c') diff --git a/src/doom/d_net.c b/src/doom/d_net.c index 923d4fcd..137aaf1c 100644 --- a/src/doom/d_net.c +++ b/src/doom/d_net.c @@ -174,6 +174,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