summaryrefslogtreecommitdiff
path: root/src/strife/d_net.c
diff options
context:
space:
mode:
authorSimon Howard2011-10-29 23:55:30 +0000
committerSimon Howard2011-10-29 23:55:30 +0000
commit80fbe1a1d2fc32d13082a816a5521660318b0101 (patch)
treefc3733cdfa00874887d33b4d9a4cc83dd0634be1 /src/strife/d_net.c
parent5d5c203ad4f587a804e96892d1d57ac7064dcd2a (diff)
downloadchocolate-doom-80fbe1a1d2fc32d13082a816a5521660318b0101.tar.gz
chocolate-doom-80fbe1a1d2fc32d13082a816a5521660318b0101.tar.bz2
chocolate-doom-80fbe1a1d2fc32d13082a816a5521660318b0101.zip
Update Strife multiplayer behavior to always use altdeath mode in
netgames, and remove code for -deathmatch parameter. Update setup tool to remove game type dropdown when setting up a Strife game. Subversion-branch: /branches/v2-branch Subversion-revision: 2470
Diffstat (limited to 'src/strife/d_net.c')
-rw-r--r--src/strife/d_net.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/strife/d_net.c b/src/strife/d_net.c
index 656d1393..021bbf91 100644
--- a/src/strife/d_net.c
+++ b/src/strife/d_net.c
@@ -278,8 +278,17 @@ void D_CheckNetGame (void)
LoadGameSettings(&settings, &connect_data);
- DEH_printf("startskill %i deathmatch: %i startmap: %i startepisode: %i\n",
- startskill, deathmatch, startmap, startepisode);
+ // Strife netgames are *always* deathmatch,
+ // specifically altdeath mode.
+
+ if (netgame)
+ {
+ deathmatch = 2;
+ }
+
+ DEH_printf("startmap: %i, skill: %i, enemies: %i, random: %i\n",
+ startmap, startskill, !nomonsters, 0 /* ??? */);
+
DEH_printf("player %i of %i (%i nodes)\n",
consoleplayer+1, settings.num_players, settings.num_players);
@@ -304,3 +313,4 @@ void D_CheckNetGame (void)
}
}
}
+