resetview in tour

This commit is contained in:
Zeno Rogue 2019-05-30 17:47:54 +02:00
parent e81912c11e
commit 2ab58e6eb7
1 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,7 @@ void setCanvas(presmode mode, char canv) {
ld = firstland;
firstland = laCanvas;
start_game();
resetview();
}
if(mode == pmStop) {
gamestack::pop();
@ -173,6 +174,7 @@ bool handleKeyTour(int sym, int uni) {
break;
}
start_game();
resetview();
presentation(pmGeometryStart);
string x;
if(slides[currentslide].flags & USE_SLIDE_NAME) {
@ -773,6 +775,7 @@ slide default_slides[] = {
gamestack::push();
switch_game_mode(rg::shmup);
start_game();
resetview();
}
if(mode == 3) {
shmup::clearMonsters();