From: Ketmar Dark Date: Wed, 23 Aug 2017 18:45:28 +0000 (+0300) Subject: "--holmes" now turns on debug mode too (and it really works now) X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=5a1cd7d2cf23834c5727ec7ed48b52803a0d3eb7;p=d2df-sdl.git "--holmes" now turns on debug mode too (and it really works now) --- diff --git a/src/game/g_window.pas b/src/game/g_window.pas index 8b89196..f5249cc 100644 --- a/src/game/g_window.pas +++ b/src/game/g_window.pas @@ -833,7 +833,7 @@ begin if ParamStr(idx) = '--no-particle-phys' then gpart_dbg_phys_enabled := false; if ParamStr(idx) = '--no-particle-physics' then gpart_dbg_phys_enabled := false; - if ParamStr(idx) = '--holmes' then g_holmes_enabled := false; + if ParamStr(idx) = '--holmes' then begin g_holmes_enabled := true; g_Game_SetDebugMode(); end; end; //if gdbg_map_use_tree_draw then e_WriteLog('using TREE renderer', MSG_NOTIFY);