diff options
Diffstat (limited to 'src/ui.cpp')
-rw-r--r-- | src/ui.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -730,7 +730,10 @@ DONE: toggleBlackFast(); } }else{*/ - currentWorld=currentWorld->goInsideStructure(player); + if((tmp = currentWorld->goInsideStructure(player)) != currentWorld){ + delete currentWorld; + currentWorld = tmp; + } //}*/ break; case SDLK_i: |