diff options
Diffstat (limited to 'src/hexen/p_setup.c')
-rw-r--r-- | src/hexen/p_setup.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/hexen/p_setup.c b/src/hexen/p_setup.c index 1d7c943a..57c4ab8c 100644 --- a/src/hexen/p_setup.c +++ b/src/hexen/p_setup.c @@ -747,8 +747,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; } |