diff options
author | Fabian Greffrath | 2015-02-02 08:03:18 +0100 |
---|---|---|
committer | Fabian Greffrath | 2015-02-02 08:03:18 +0100 |
commit | be1a900c9fd873168e82da2efad9f2febc9edcc8 (patch) | |
tree | 5775e6684a9bec2166f09c7ffe5ab708ac069d67 /src/hexen | |
parent | d0bb59a02c17dddef40f8f84364792aaf9c75771 (diff) | |
download | chocolate-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/hexen')
-rw-r--r-- | src/hexen/d_net.c | 2 |
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 |