From: TerminalHash Date: Wed, 26 Apr 2023 09:20:26 +0000 (+0300) Subject: net: set values of debug commands to false when connecting to server X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=commitdiff_plain;h=0cdc0bc2bc096e84fcaa7cce22e8c9e27fd6bd86 net: set values of debug commands to false when connecting to server --- diff --git a/src/game/g_game.pas b/src/game/g_game.pas index 7b4ae2e..b8c69a1 100644 --- a/src/game/g_game.pas +++ b/src/game/g_game.pas @@ -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);