mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-30 03:50:34 +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;
|
ld = firstland;
|
||||||
firstland = laCanvas;
|
firstland = laCanvas;
|
||||||
start_game();
|
start_game();
|
||||||
|
resetview();
|
||||||
}
|
}
|
||||||
if(mode == pmStop) {
|
if(mode == pmStop) {
|
||||||
gamestack::pop();
|
gamestack::pop();
|
||||||
@ -173,6 +174,7 @@ bool handleKeyTour(int sym, int uni) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
start_game();
|
start_game();
|
||||||
|
resetview();
|
||||||
presentation(pmGeometryStart);
|
presentation(pmGeometryStart);
|
||||||
string x;
|
string x;
|
||||||
if(slides[currentslide].flags & USE_SLIDE_NAME) {
|
if(slides[currentslide].flags & USE_SLIDE_NAME) {
|
||||||
@ -773,6 +775,7 @@ slide default_slides[] = {
|
|||||||
gamestack::push();
|
gamestack::push();
|
||||||
switch_game_mode(rg::shmup);
|
switch_game_mode(rg::shmup);
|
||||||
start_game();
|
start_game();
|
||||||
|
resetview();
|
||||||
}
|
}
|
||||||
if(mode == 3) {
|
if(mode == 3) {
|
||||||
shmup::clearMonsters();
|
shmup::clearMonsters();
|
||||||
|
Loading…
Reference in New Issue
Block a user