summaryrefslogtreecommitdiff
path: root/src/heretic
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/heretic
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/heretic')
-rw-r--r--src/heretic/d_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heretic/d_net.c b/src/heretic/d_net.c
index 1eb88b67..6a6a8abb 100644
--- a/src/heretic/d_net.c
+++ b/src/heretic/d_net.c
@@ -159,10 +159,10 @@ static void SaveGameSettings(net_gamesettings_t *settings,
settings->nomonsters = nomonsters;
settings->respawn_monsters = respawnparm;
settings->timelimit = 0;
-
settings->lowres_turn = false;
connect_data->drone = false;
+ connect_data->max_players = MAXPLAYERS;
//
// Connect data