diff options
Diffstat (limited to 'src/heretic/p_setup.c')
-rw-r--r-- | src/heretic/p_setup.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/heretic/p_setup.c b/src/heretic/p_setup.c index a3bd2912..7eb7f3c2 100644 --- a/src/heretic/p_setup.c +++ b/src/heretic/p_setup.c @@ -620,8 +620,17 @@ void P_SetupLevel(int episode, int map, int playermask, skill_t skill) P_RemoveMobj(mobj); } } - parm = M_CheckParm("-timer"); - if (parm && parm < myargc - 1) + + //! + // @arg <n> + // @category net + // @vanilla + // + // For multiplayer games: exit each level after n minutes. + // + + parm = M_CheckParmWithArgs("-timer", 1); + if (parm) { TimerGame = atoi(myargv[parm + 1]) * 35 * 60; } |