From: Stas'M Date: Sat, 19 May 2018 20:07:46 +0000 (+0300) Subject: Window: Update keyboard state before execute X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=75283c545daff14f26f0377f6cddbd859512f4b9;p=d2df-sdl.git Window: Update keyboard state before execute --- diff --git a/src/game/g_window.pas b/src/game/g_window.pas index 3a29d08..ac21148 100644 --- a/src/game/g_window.pas +++ b/src/game/g_window.pas @@ -483,8 +483,8 @@ begin exit; end; {$ENDIF} - if down then KeyPress(key); e_KeyUpDown(key, down); + if down then KeyPress(key); end; {$IF not DEFINED(HEADLESS)}