From: Ketmar Dark Date: Fri, 18 Aug 2017 15:58:00 +0000 (+0300) Subject: "-dbg-mainwad" cli arg X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=512930af83dba9b49ac46a3520f7e8cb17f5d3c9;p=d2df-sdl.git "-dbg-mainwad" cli arg --- diff --git a/src/game/g_game.pas b/src/game/g_game.pas index 90332ca..ef7402b 100644 --- a/src/game/g_game.pas +++ b/src/game/g_game.pas @@ -6923,6 +6923,12 @@ begin Exit; end; + s := LowerCase(Find_Param_Value(pars, '-dbg-mainwad')); + if (s <> '') then + begin + gDefaultMegawadStart := s; + end; + // Start map when game loads: map := LowerCase(Find_Param_Value(pars, '-map')); if isWadPath(map) then