summaryrefslogtreecommitdiff
path: root/src/doom/d_net.c
diff options
context:
space:
mode:
authorSimon Howard2011-10-19 18:48:53 +0000
committerSimon Howard2011-10-19 18:48:53 +0000
commit845a5d31b27c15f5b61f15e1cfc5f5d305b4878c (patch)
tree852113ac1932e2d51ddd3a2fb16829a6bf50180d /src/doom/d_net.c
parenta4567e04c7f90f12ae7e2bedf840d80e14409283 (diff)
downloadchocolate-doom-845a5d31b27c15f5b61f15e1cfc5f5d305b4878c.tar.gz
chocolate-doom-845a5d31b27c15f5b61f15e1cfc5f5d305b4878c.tar.bz2
chocolate-doom-845a5d31b27c15f5b61f15e1cfc5f5d305b4878c.zip
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
Diffstat (limited to 'src/doom/d_net.c')
-rw-r--r--src/doom/d_net.c1
1 files changed, 1 insertions, 0 deletions
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