summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFabian Greffrath2015-02-02 08:03:18 +0100
committerFabian Greffrath2015-02-02 08:03:18 +0100
commitbe1a900c9fd873168e82da2efad9f2febc9edcc8 (patch)
tree5775e6684a9bec2166f09c7ffe5ab708ac069d67 /src
parentd0bb59a02c17dddef40f8f84364792aaf9c75771 (diff)
downloadchocolate-doom-be1a900c9fd873168e82da2efad9f2febc9edcc8.tar.gz
chocolate-doom-be1a900c9fd873168e82da2efad9f2febc9edcc8.tar.bz2
chocolate-doom-be1a900c9fd873168e82da2efad9f2febc9edcc8.zip
set the max_players limit in network games to 4 in shareware mode
Diffstat (limited to 'src')
-rw-r--r--src/hexen/d_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hexen/d_net.c b/src/hexen/d_net.c
index 5bd0eed0..6dd0b74d 100644
--- a/src/hexen/d_net.c
+++ b/src/hexen/d_net.c
@@ -172,7 +172,7 @@ static void InitConnectData(net_connect_data_t *connect_data)
connect_data->lowres_turn = false;
connect_data->drone = false;
- connect_data->max_players = MAXPLAYERS;
+ connect_data->max_players = (gamemode == shareware) ? 4 : MAXPLAYERS;
//!
// @category net