mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-20 11:54:48 +00:00
resetview in tour
This commit is contained in:
parent
e81912c11e
commit
2ab58e6eb7
3
tour.cpp
3
tour.cpp
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user