mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-26 07:02:49 +00:00
do not exit menus on left/right arrow presses in SDL2
This commit is contained in:
parent
ea6b5aad10
commit
3da69ed1f5
@ -358,7 +358,7 @@ EX bool doexiton(int sym, int uni) {
|
|||||||
if(sym == SDLK_LALT) return false;
|
if(sym == SDLK_LALT) return false;
|
||||||
if(sym == SDLK_RALT) return false;
|
if(sym == SDLK_RALT) return false;
|
||||||
#endif
|
#endif
|
||||||
if(uni != 0) return true;
|
if(uni != 0 && uni < 128) return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user