1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-26 10:24:49 +00:00

RETURN key now moves to joydir

This commit is contained in:
Zeno Rogue
2025-11-11 18:46:38 +01:00
parent bb2c794a40
commit 4cc066e6c4

View File

@@ -623,6 +623,13 @@ EX void handleKeyNormal(int sym, int uni) {
sym = 0; uni = 0;
}
if(sym == 'f') bow::switch_fire_mode();
if(sym == SDLK_RETURN) {
flashMessages();
movepcto(joydir);
joy_ignore_next = true;
joytime = -1;
checkjoy();
}
}
if(sym == SDLK_KP5 && DEFAULTCONTROL && !game_keys_scroll) movepcto(-1, 1);