diff --git a/src/game/g_window.pas b/src/game/g_window.pas
index 8b8919633da10cb3f2908cf0730e0ad809c45deb..8578b70eabec5e305e83931ea42578ffb0663e58 100644 (file)
--- a/src/game/g_window.pas
+++ b/src/game/g_window.pas
Result := True;
end;
- SDL_KEYDOWN,
- SDL_KEYUP:
+ SDL_KEYDOWN, SDL_KEYUP:
begin
key := ev.key.keysym.scancode;
if (g_holmes_enabled) then
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);