mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-10 11:14:07 +00:00
rogueviz::ads:: fixed potential crash
This commit is contained in:
parent
5feae0dd9c
commit
3a24c2c468
@ -85,7 +85,7 @@ void switch_spacetime() {
|
||||
}
|
||||
|
||||
View = Id;
|
||||
cwt = centerover = currentmap->gamestart();
|
||||
if(game_active) cwt = centerover = currentmap->gamestart();
|
||||
}
|
||||
|
||||
bool ads_draw_cell(cell *c, const shiftmatrix& V) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user