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;
|
bool inhelp = cmode & sm::HELP;
|
||||||
int flags = slides[currentslide].flags;
|
int flags = slides[currentslide].flags;
|
||||||
if((sym == SDLK_RETURN || sym == SDLK_KP_ENTER) && (!inhelp || (flags & QUICKSKIP))) {
|
if((sym == SDLK_RETURN || sym == SDLK_KP_ENTER) && (!inhelp || (flags & QUICKSKIP))) {
|
||||||
if(inhelp) popScreen();
|
popScreenAll();
|
||||||
if(geometry || purehepta) {
|
if(geometry || purehepta) {
|
||||||
popGame();
|
popGame();
|
||||||
if(!(flags & QUICKGEO)) return true;
|
if(!(flags & QUICKGEO)) return true;
|
||||||
|
@ -99,6 +99,7 @@ bool handleKeyTour(int sym, int uni) {
|
||||||
presentation(pmStop);
|
presentation(pmStop);
|
||||||
currentslide--;
|
currentslide--;
|
||||||
if(inhelp) popScreen(), slidehelp();
|
if(inhelp) popScreen(), slidehelp();
|
||||||
|
else popScreenAll();
|
||||||
presentation(pmStart);
|
presentation(pmStart);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue