mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
more mobile tutorial fixes
This commit is contained in:
parent
2e4fe5baba
commit
e4e160a7da
3
tour.cpp
3
tour.cpp
@ -78,7 +78,7 @@ bool handleKeyTour(int sym, int uni) {
|
||||
bool inhelp = cmode & sm::HELP;
|
||||
int flags = slides[currentslide].flags;
|
||||
if((sym == SDLK_RETURN || sym == SDLK_KP_ENTER) && (!inhelp || (flags & QUICKSKIP))) {
|
||||
if(inhelp) popScreen();
|
||||
popScreenAll();
|
||||
if(geometry || purehepta) {
|
||||
popGame();
|
||||
if(!(flags & QUICKGEO)) return true;
|
||||
@ -99,6 +99,7 @@ bool handleKeyTour(int sym, int uni) {
|
||||
presentation(pmStop);
|
||||
currentslide--;
|
||||
if(inhelp) popScreen(), slidehelp();
|
||||
else popScreenAll();
|
||||
presentation(pmStart);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user