From 0e3500b9191673ce7227b840346e03e41b0a5276 Mon Sep 17 00:00:00 2001 From: dhewg Date: Thu, 19 Jan 2012 00:22:47 +0100 Subject: [PATCH] Accept both alt keys for alt-enter Reported by Ensiform. --- neo/sys/events.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/sys/events.cpp b/neo/sys/events.cpp index 42d9126e..0f4ec2f3 100644 --- a/neo/sys/events.cpp +++ b/neo/sys/events.cpp @@ -400,7 +400,7 @@ sysEvent_t Sys_GetEvent() { return res_none; case SDL_KEYDOWN: - if (ev.key.keysym.sym == SDLK_RETURN && (ev.key.keysym.mod & KMOD_LALT) > 0) { + if (ev.key.keysym.sym == SDLK_RETURN && (ev.key.keysym.mod & KMOD_ALT) > 0) { cvarSystem->SetCVarBool("r_fullscreen", !renderSystem->IsFullScreen()); PushConsoleEvent("vid_restart"); return res_none;