summaryrefslogtreecommitdiff
path: root/src/strife
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/strife
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/strife')
-rw-r--r--src/strife/d_net.c1
1 files changed, 1 insertions, 0 deletions
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