more mobile tutorial fixes

This commit is contained in:
Zeno Rogue 2017-08-06 16:29:51 +02:00
parent 2e4fe5baba
commit e4e160a7da
1 changed files with 2 additions and 1 deletions

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