1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-21 08:00:25 +00:00

fix an undefined behavior (crash on OSX after separate-area scenes in tutorial)

This commit is contained in:
Zeno Rogue 2019-01-03 15:17:50 +01:00
parent c2dc4c8708
commit ee7a9722a9

View File

@ -1068,8 +1068,8 @@ namespace gamestack {
if(shmup::on) shmup::clearMonsters(); if(shmup::on) shmup::clearMonsters();
shmup::on = gdn.shmup; shmup::on = gdn.shmup;
resetGeometry(); resetGeometry();
gd.pop_back();
*current_display = gdn.d; *current_display = gdn.d;
gd.pop_back();
bfs(); bfs();
} }