X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fsdl%2Fg_system.pas;h=1f4061abf7fdc4ba9ff74475e09d7ece908356e1;hp=c53a7b347596c44c4331497c94c7ee3a2cb524b0;hb=dac16ad95bb1fcf32130e3d6f7a301e63ba85ab0;hpb=eca2ce778990a23f8252271e8289c9937f85f6c9 diff --git a/src/game/sdl/g_system.pas b/src/game/sdl/g_system.pas index c53a7b3..1f4061a 100644 --- a/src/game/sdl/g_system.pas +++ b/src/game/sdl/g_system.pas @@ -449,9 +449,9 @@ implementation e_KeyUpDown(key, down); g_Console_ProcessBind(key, down); end - else if gConsoleShow or gChatShow or (g_ActiveWindow <> nil) then + else begin - KeyPress(key) // key repeat in menus and shit + g_Console_ProcessBindRepeat(key) end; if down and IsValid1251(ev.keysym.unicode) and IsPrintable1251(ch) then CharPress(ch)