diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index 9edbcf0ed2f5c7d00cbba3850735174494a7419c..fb5d978bc793a5152d9648cde712bb3a75de5d7a 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
if gmon_debug_use_sqaccel then g_Console_Add('accelerated monster coldet: tan') else g_Console_Add('accelerated monster coldet: ona');
exit;
end;
+
+ if (cmd = 'wtrace_sq_enabled') then
+ begin
+ case getBool(1) of
+ -1: begin end;
+ 0: gwep_debug_fast_trace := false;
+ 1: gwep_debug_fast_trace := true;
+ end;
+ if gwep_debug_fast_trace then g_Console_Add('accelerated weapon hitscan: tan') else g_Console_Add('accelerated weapon hitscan: ona');
+ exit;
+ end;
end;
procedure DebugCommands(P: SArray);