From e4e160a7daf7b692cfcd508e4798c646e2cca184 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 6 Aug 2017 16:29:51 +0200 Subject: [PATCH] more mobile tutorial fixes --- tour.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tour.cpp b/tour.cpp index fb565ba9..6268c439 100644 --- a/tour.cpp +++ b/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; }