summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2010-12-06 22:38:24 +0000
committerSimon Howard2010-12-06 22:38:24 +0000
commit35104488f0c896dbb43d6841a89a629b2ed248a4 (patch)
treeef8d41da76dd423e86fed3381ae06e7c41f91c75
parent678a8f9aeea9fa1966b3e8a94974688fda4d8fe1 (diff)
downloadchocolate-doom-35104488f0c896dbb43d6841a89a629b2ed248a4.tar.gz
chocolate-doom-35104488f0c896dbb43d6841a89a629b2ed248a4.tar.bz2
chocolate-doom-35104488f0c896dbb43d6841a89a629b2ed248a4.zip
Rename -netdemo command line parameter to -solo-net, for consistency
with other ports (-netdemo is still recognised). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2197
-rw-r--r--src/g_game.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/g_game.c b/src/g_game.c
index 95cd77a6..d2694250 100644
--- a/src/g_game.c
+++ b/src/g_game.c
@@ -2223,10 +2223,11 @@ void G_DoPlayDemo (void)
// Play back a demo recorded in a netgame with a single player.
//
- if (playeringame[1] || M_CheckParm("-netdemo") > 0)
- {
- netgame = true;
- netdemo = true;
+ if (playeringame[1] || M_CheckParm("-solo-net") > 0
+ || M_CheckParm("-netdemo") > 0)
+ {
+ netgame = true;
+ netdemo = true;
}
// don't spend a lot of time in loadlevel