summaryrefslogtreecommitdiff
path: root/src/strife/g_game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strife/g_game.c')
-rw-r--r--src/strife/g_game.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/strife/g_game.c b/src/strife/g_game.c
index e295b858..87fb74ac 100644
--- a/src/strife/g_game.c
+++ b/src/strife/g_game.c
@@ -2347,8 +2347,7 @@ void G_DoPlayDemo (void)
// Play back a demo recorded in a netgame with a single player.
//
- if (playeringame[1] || M_CheckParm("-solo-net") > 0
- || M_CheckParm("-netdemo") > 0)
+ if (playeringame[1] || M_ParmExists("-solo-net"))
{
netgame = true;
netdemo = true;
@@ -2379,7 +2378,7 @@ void G_TimeDemo (char* name)
// Disable rendering the screen entirely.
//
- nodrawers = M_CheckParm ("-nodraw");
+ nodrawers = M_ParmExists("-nodraw");
timingdemo = true;
singletics = true;