From 512930af83dba9b49ac46a3520f7e8cb17f5d3c9 Mon Sep 17 00:00:00 2001 From: Ketmar Dark Date: Fri, 18 Aug 2017 18:58:00 +0300 Subject: [PATCH] "-dbg-mainwad" cli arg --- src/game/g_game.pas | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.29.2