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
1 changed files with 1 additions and 1 deletions

View File

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