From: DeaDDooMER Date: Mon, 15 Apr 2019 14:36:13 +0000 (+0300) Subject: fixed cheat input X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=commitdiff_plain;h=78dc38833a49bf6225f221d9a0f179adc6acd007 fixed cheat input --- diff --git a/src/game/g_main.pas b/src/game/g_main.pas index 23113e7..df6bba1 100644 --- a/src/game/g_main.pas +++ b/src/game/g_main.pas @@ -599,17 +599,12 @@ var Msg: g_gui.TMessage; a: Integer; begin - if gSkipFirstChar then - begin - gSkipFirstChar := False; - Exit - end; - - if (not gChatShow) and ((C = '`') or (C = '~') or (C = '¸') or (C = '¨')) then Exit; - if gConsoleShow or gChatShow then begin - g_Console_Char(C); + if gSkipFirstChar then + gSkipFirstChar := False + else + g_Console_Char(C) end else if (g_ActiveWindow <> nil) then begin