diff options
-rw-r--r-- | src/strife/d_main.c | 10 | ||||
-rw-r--r-- | src/strife/d_net.c | 4 | ||||
-rw-r--r-- | src/strife/g_game.c | 5 |
3 files changed, 11 insertions, 8 deletions
diff --git a/src/strife/d_main.c b/src/strife/d_main.c index ce7a2642..9e27a47d 100644 --- a/src/strife/d_main.c +++ b/src/strife/d_main.c @@ -1398,13 +1398,17 @@ void D_DoomMain (void) nomonsters = M_CheckParm ("-nomonsters"); //! - // Sets Rogue playtesting mode (godmode, noclip toggled by backspace) + // @vanilla + // + // Set Rogue playtesting mode (godmode, noclip toggled by backspace) // workparm = M_CheckParm ("-work"); //! - // Attemps to flip player gun sprites, but is broken. + // @vanilla + // + // Flip player gun sprites (broken). // flipparm = M_CheckParm ("-flip"); @@ -1412,7 +1416,7 @@ void D_DoomMain (void) //! // @vanilla // - // Monsters respawn after being killed. + // Respawn monsters after they are killed. // respawnparm = M_CheckParm ("-respawn"); diff --git a/src/strife/d_net.c b/src/strife/d_net.c index 002298bd..ab9d7e12 100644 --- a/src/strife/d_net.c +++ b/src/strife/d_net.c @@ -165,8 +165,8 @@ static void SaveGameSettings(net_gamesettings_t *settings) settings->respawn_monsters = respawnparm; settings->timelimit = timelimit; - settings->lowres_turn = M_CheckParm("-record") > 0 - && M_CheckParm("-longtics") == 0; + settings->lowres_turn = M_ParmExists("-record") + && !M_ParmExists("-longtics"); } static void InitConnectData(net_connect_data_t *connect_data) 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; |