From: DeaDDooMER Date: Fri, 5 May 2023 11:36:25 +0000 (+0300) Subject: game: remove d_winmsg (unused command) X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=23727633655e94377e40635111ef54c4d8363ead;p=d2df-sdl.git game: remove d_winmsg (unused command) --- diff --git a/src/game/g_game.pas b/src/game/g_game.pas index d7b9b2d..b73d5ad 100644 --- a/src/game/g_game.pas +++ b/src/game/g_game.pas @@ -312,7 +312,6 @@ var gRC_FullScreen, gRC_Maximized: Boolean; gLanguageChange: Boolean = False; gDebugMode: Boolean = False; - g_debug_WinMsgs: Boolean = False; g_debug_MonsterOff: Boolean = False; g_debug_BotAIOff: Byte = 0; g_Debug_Player: Boolean = False; @@ -1028,7 +1027,6 @@ end; procedure ClearDebugCvars(); begin - g_debug_WinMsgs := False; g_debug_MonsterOff := False; g_debug_BotAIOff := 0; g_Debug_Player := False; @@ -4684,14 +4682,6 @@ begin g_Console_Add(Format('gScreenWidth = %d, gScreenHeight = %d', [gScreenWidth, gScreenHeight])); g_Console_Add(Format('gScreenWidth = %d, gScreenHeight = %d', [gScreenWidth, gScreenHeight])); end - else if cmd = 'd_winmsg' then - begin - if (Length(P) > 1) and - ((P[1] = '1') or (P[1] = '0')) then - g_Debug_WinMsgs := (P[1][1] = '1'); - - g_Console_Add(Format('d_winmsg is %d', [Byte(g_Debug_WinMsgs)])); - end else if (cmd = 'd_monoff') and not g_Game_IsNet then begin if (Length(P) > 1) and