X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FInput.c;h=2b8f7bedfa2132f6b86bd491542d48f73d58cfe5;hb=fe656a41b406b06d9dc5b93d01191d52b1da3b4d;hp=a7ac7798d545d0038d2a881eaa5f0db87cc1c280;hpb=ac592f78bbedc4808c5e35fb22bc8fc9f0398c8d;p=rocksndiamonds.git diff --git a/src/game_sp/Input.c b/src/game_sp/Input.c index a7ac7798..2b8f7bed 100644 --- a/src/game_sp/Input.c +++ b/src/game_sp/Input.c @@ -41,7 +41,7 @@ int subProcessKeyboardInput() { int subProcessKeyboardInput; - int LastKey; + static int LastKey = 0; // On Error GoTo NoKeyboardAccessEH // Call DKeyboard.Acquire