DEADSOFTWARE

"--holmes" now turns on debug mode too (and it really works now)
authorKetmar Dark <ketmar@ketmar.no-ip.org>
Wed, 23 Aug 2017 18:45:28 +0000 (21:45 +0300)
committerKetmar Dark <ketmar@ketmar.no-ip.org>
Wed, 23 Aug 2017 18:45:45 +0000 (21:45 +0300)
src/game/g_window.pas

index 8b8919633da10cb3f2908cf0730e0ad809c45deb..f5249cc0e810e168e58409423eae45e306f9dc58 100644 (file)
@@ -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);