mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-03 23:14:07 +00:00
fixed the Tutorial not showing the help text for some slides
This commit is contained in:
parent
441e328e4b
commit
82eb4ca076
6
tour.cpp
6
tour.cpp
@ -86,8 +86,8 @@ bool handleKeyTour(int sym, int uni) {
|
|||||||
if(flags & FINALSLIDE) return true;
|
if(flags & FINALSLIDE) return true;
|
||||||
presentation(pmStop);
|
presentation(pmStop);
|
||||||
currentslide++;
|
currentslide++;
|
||||||
slidehelp();
|
|
||||||
presentation(pmStart);
|
presentation(pmStart);
|
||||||
|
slidehelp();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if(sym == SDLK_BACKSPACE) {
|
if(sym == SDLK_BACKSPACE) {
|
||||||
@ -98,9 +98,9 @@ bool handleKeyTour(int sym, int uni) {
|
|||||||
if(currentslide == 0) { slidehelp(); return true; }
|
if(currentslide == 0) { slidehelp(); return true; }
|
||||||
presentation(pmStop);
|
presentation(pmStop);
|
||||||
currentslide--;
|
currentslide--;
|
||||||
if(inhelp) popScreen(), slidehelp();
|
|
||||||
else popScreenAll();
|
|
||||||
presentation(pmStart);
|
presentation(pmStart);
|
||||||
|
popScreenAll();
|
||||||
|
if(inhelp) slidehelp();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if(sym == '1' || sym == '2' || sym == '3') {
|
if(sym == '1' || sym == '2' || sym == '3') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user