commit 35104488f0c896dbb43d6841a89a629b2ed248a4
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Mon Dec 6 22:38:24 2010 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Mon Dec 6 22:38:24 2010 +0000
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
---
src/g_game.c | 9 +++++----
1 file 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