From 78dc38833a49bf6225f221d9a0f179adc6acd007 Mon Sep 17 00:00:00 2001 From: DeaDDooMER Date: Mon, 15 Apr 2019 17:36:13 +0300 Subject: [PATCH] fixed cheat input --- src/game/g_main.pas | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) 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 -- 2.29.2