From 90bb584b4b9c8e04204732d5b19f228631b174b2 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 24 Sep 2011 15:38:21 +0000 Subject: Remove duplicate code for parsing -file parameter. Subversion-branch: /branches/v2-branch Subversion-revision: 2394 --- src/doom/d_main.c | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'src/doom/d_main.c') diff --git a/src/doom/d_main.c b/src/doom/d_main.c index beb15019..0348c39d 100644 --- a/src/doom/d_main.c +++ b/src/doom/d_main.c @@ -1287,29 +1287,6 @@ void D_DoomMain (void) D_AddFile(iwadfile); modifiedgame = W_ParseCommandLine(); - //! - // @arg - // @vanilla - // - // Load the specified PWAD files. - // - - p = M_CheckParmWithArgs("-file", 1); - if (p) - { - // the parms after p are wadfile/lump names, - // until end of parms or another - preceded parm - modifiedgame = true; // homebrew levels - while (++p != myargc && myargv[p][0] != '-') - { - char *filename; - - filename = D_TryFindWADByName(myargv[p]); - - D_AddFile(filename); - } - } - // Debug: // W_PrintDirectory(); -- cgit v1.2.3