From: Ryan C. Gordon Date: Wed, 10 Aug 2005 22:27:03 +0000 (+0000) Subject: Fixed keyboard input AGAIN. X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=115331fb033ad2a8f4bcd2e1329003d5abd13366;p=lugaru.git Fixed keyboard input AGAIN. --- diff --git a/Source/OpenGL_Windows.cpp b/Source/OpenGL_Windows.cpp index 18bb2b9..3aecec5 100644 --- a/Source/OpenGL_Windows.cpp +++ b/Source/OpenGL_Windows.cpp @@ -525,7 +525,7 @@ static void sdlEventProc(const SDL_Event &e, Game &game) SDL_WM_ToggleFullScreen(SDL_GetVideoSurface()); } - else if (e.key.keysym.sym < SDLK_LAST) + if (e.key.keysym.sym < SDLK_LAST) { if (KeyTable[e.key.keysym.sym] != 0xffff) SetKey(KeyTable[e.key.keysym.sym]);