1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 13:07:16 +00:00

do not exit menus on left/right arrow presses in SDL2

This commit is contained in:
Zeno Rogue 2024-08-21 19:18:30 +02:00
parent ea6b5aad10
commit 3da69ed1f5

View File

@ -358,7 +358,7 @@ EX bool doexiton(int sym, int uni) {
if(sym == SDLK_LALT) return false;
if(sym == SDLK_RALT) return false;
#endif
if(uni != 0) return true;
if(uni != 0 && uni < 128) return true;
return false;
}