GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-sdl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef2386d
)
net: set values of debug commands to false when connecting to server
author
TerminalHash <lyashuk.voxx@gmail.com>
Wed, 26 Apr 2023 09:20:26 +0000
(12:20 +0300)
committer
TerminalHash <lyashuk.voxx@gmail.com>
Wed, 26 Apr 2023 09:20:26 +0000
(12:20 +0300)
src/game/g_game.pas
patch
|
blob
|
history
diff --git
a/src/game/g_game.pas
b/src/game/g_game.pas
index 7b4ae2ee0fa1958759e5166850cc184cbdb7c344..b8c69a1cf396b26dd41d88dd9625393cd6b2afdf 100644
(file)
--- 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);
DEADSOFTWARE 2012-2025