]> git.jsancho.org Git - lugaru.git/commitdiff
Fixed keyboard input AGAIN.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 10 Aug 2005 22:27:03 +0000 (22:27 +0000)
committerRyan C. Gordon <icculus@icculus.org>
Wed, 10 Aug 2005 22:27:03 +0000 (22:27 +0000)
Source/OpenGL_Windows.cpp

index 18bb2b90382220146263b122d895ae84139f202b..3aecec5b91a2787e8103f7bea361edf343ddc168 100644 (file)
@@ -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]);