mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-27 06:32:27 +00:00
Accept both alt keys for alt-enter
Reported by Ensiform.
This commit is contained in:
parent
3e066baf91
commit
0e3500b919
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue