1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-05-11 11:44:08 +00:00

rogueviz::ads:: fixed potential crash

This commit is contained in:
Zeno Rogue 2025-04-05 23:34:01 +02:00
parent 5feae0dd9c
commit 3a24c2c468

View File

@ -85,7 +85,7 @@ void switch_spacetime() {
} }
View = Id; View = Id;
cwt = centerover = currentmap->gamestart(); if(game_active) cwt = centerover = currentmap->gamestart();
} }
bool ads_draw_cell(cell *c, const shiftmatrix& V) { bool ads_draw_cell(cell *c, const shiftmatrix& V) {