From 17c10da2f3bbcdbfd8d1b45204a5748434456833 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 10 Aug 2013 21:30:03 +0000 Subject: Add documentation comments for Heretic and Hexen command line arguments. Subversion-branch: /branches/v2-branch Subversion-revision: 2611 --- src/heretic/p_setup.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/heretic/p_setup.c') 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 + // @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; } -- cgit v1.2.3