fixed the Tutorial not showing the help text for some slides

This commit is contained in:
Zeno Rogue 2017-11-07 13:01:32 +01:00
parent 441e328e4b
commit 82eb4ca076
1 changed files with 3 additions and 3 deletions

View File

@ -86,8 +86,8 @@ bool handleKeyTour(int sym, int uni) {
if(flags & FINALSLIDE) return true;
presentation(pmStop);
currentslide++;
slidehelp();
presentation(pmStart);
slidehelp();
return true;
}
if(sym == SDLK_BACKSPACE) {
@ -98,9 +98,9 @@ bool handleKeyTour(int sym, int uni) {
if(currentslide == 0) { slidehelp(); return true; }
presentation(pmStop);
currentslide--;
if(inhelp) popScreen(), slidehelp();
else popScreenAll();
presentation(pmStart);
popScreenAll();
if(inhelp) slidehelp();
return true;
}
if(sym == '1' || sym == '2' || sym == '3') {