DEADSOFTWARE

"--holmes" now turns on debug mode too (and it really works now)
[d2df-sdl.git] / 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);