1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-27 02:20:36 +00:00

pressing ESC key while in fire mode now disables the fire mode

This commit is contained in:
Zeno Rogue 2023-12-21 19:50:01 +01:00
parent 7a352ccf43
commit 0de012923a

View File

@ -574,7 +574,9 @@ EX void handleKeyNormal(int sym, int uni) {
} }
if(sym == SDLK_ESCAPE) { if(sym == SDLK_ESCAPE) {
if(viewdists) if(bow::fire_mode)
bow::switch_fire_mode();
else if(viewdists)
viewdists = false; viewdists = false;
else else
showMissionScreen(); showMissionScreen();