mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-27 15:32:53 +00:00
ESC clears the viewdistance option
This commit is contained in:
parent
86077105b1
commit
98a6255ca2
@ -373,8 +373,12 @@ void handleKeyNormal(int sym, int uni) {
|
|||||||
else restartGame();
|
else restartGame();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(sym == SDLK_ESCAPE)
|
if(sym == SDLK_ESCAPE) {
|
||||||
|
if(viewdists)
|
||||||
|
viewdists = false;
|
||||||
|
else
|
||||||
showMissionScreen();
|
showMissionScreen();
|
||||||
|
}
|
||||||
|
|
||||||
if(sym == SDLK_F10) {
|
if(sym == SDLK_F10) {
|
||||||
if(needConfirmation()) pushScreen(showMission);
|
if(needConfirmation()) pushScreen(showMission);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user