X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_main.pas;h=df6bba16a9b77160b30f6af2a3be2c61e0f8eae7;hp=23113e77f629fd2b426ddc783bc1c31f0b30a33f;hb=78dc38833a49bf6225f221d9a0f179adc6acd007;hpb=11f1db221de3d7c80641b87194a920e54850b713 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