diff options
author | Simon Howard | 2011-09-24 15:38:21 +0000 |
---|---|---|
committer | Simon Howard | 2011-09-24 15:38:21 +0000 |
commit | 90bb584b4b9c8e04204732d5b19f228631b174b2 (patch) | |
tree | afecbbeaaebe29246ea5ee129b014c22c06d4966 | |
parent | 66388c26e971b06a6940620c78d75796f178bcf5 (diff) | |
download | chocolate-doom-90bb584b4b9c8e04204732d5b19f228631b174b2.tar.gz chocolate-doom-90bb584b4b9c8e04204732d5b19f228631b174b2.tar.bz2 chocolate-doom-90bb584b4b9c8e04204732d5b19f228631b174b2.zip |
Remove duplicate code for parsing -file parameter.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2394
-rw-r--r-- | src/doom/d_main.c | 23 |
1 files changed, 0 insertions, 23 deletions
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 <files> - // @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(); |