DEADSOFTWARE

net: set values of debug commands to false when connecting to server
authorTerminalHash <lyashuk.voxx@gmail.com>
Wed, 26 Apr 2023 09:20:26 +0000 (12:20 +0300)
committerTerminalHash <lyashuk.voxx@gmail.com>
Wed, 26 Apr 2023 09:20:26 +0000 (12:20 +0300)
src/game/g_game.pas

index 7b4ae2ee0fa1958759e5166850cc184cbdb7c344..b8c69a1cf396b26dd41d88dd9625393cd6b2afdf 100644 (file)
@@ -4821,6 +4821,15 @@ begin
 // Óñòàíîâêà ðàçìåðîâ îêîí èãðîêîâ:
   g_Game_SetupScreenSize();
 
+// set debug options to false to avoid cheaters
+  g_debug_Sounds := False;
+  g_debug_Frames := False;
+  g_debug_WinMsgs := False;
+  g_debug_MonsterOff := False;
+  g_debug_BotAIOff := 0;
+  g_debug_HealthBar := False;
+  g_Debug_Player := False;
+
   NetState := NET_STATE_AUTH;
 
   g_Game_SetLoadingText(_lc[I_LOAD_CONNECT], 0, False);