mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-29 19:40:35 +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();
|
||||
}
|
||||
|
||||
if(sym == SDLK_ESCAPE)
|
||||
showMissionScreen();
|
||||
if(sym == SDLK_ESCAPE) {
|
||||
if(viewdists)
|
||||
viewdists = false;
|
||||
else
|
||||
showMissionScreen();
|
||||
}
|
||||
|
||||
if(sym == SDLK_F10) {
|
||||
if(needConfirmation()) pushScreen(showMission);
|
||||
|
Loading…
Reference in New Issue
Block a user