1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 19:10:35 +00:00

more mobile tutorial fixes

This commit is contained in:
Zeno Rogue 2017-08-06 16:29:51 +02:00
parent 2e4fe5baba
commit e4e160a7da

View File

@ -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;
}