diff options
Diffstat (limited to 'src/heretic')
-rw-r--r-- | src/heretic/d_main.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/heretic/d_main.c b/src/heretic/d_main.c index 62e4892e..9c282491 100644 --- a/src/heretic/d_main.c +++ b/src/heretic/d_main.c @@ -625,7 +625,7 @@ void initStartup(void) byte *textScreen; byte *loading; - if (!graphical_startup || debugmode) + if (!graphical_startup || debugmode || testcontrols) { using_graphical_startup = false; return; @@ -943,6 +943,14 @@ void D_DoomMain(void) I_PrintStartupBanner(gamedescription); + if (M_ParmExists("-testcontrols")) + { + startepisode = 1; + startmap = 1; + autostart = true; + testcontrols = true; + } + // haleyjd: removed WATCOMC initStartup(); @@ -1041,14 +1049,6 @@ void D_DoomMain(void) free(filename); } - if (M_ParmExists("-testcontrols")) - { - startepisode = 1; - startmap = 1; - autostart = true; - testcontrols = true; - } - // Check valid episode and map if (autostart || netgame) { |