mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 09:50:34 +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;
|
||||
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') {
|
||||
|
Loading…
Reference in New Issue
Block a user