diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-21 00:42:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-21 02:50:12 +0300 |
commit | f3fcd24e8597feaabab67d0d354aef803958a465 (patch) | |
tree | 06b17d34696a7acca422a26352d022f31e51ce90 /src/game.cpp | |
parent | dff5c359fc0aec10a63556b7072d5e724ec0bf8e (diff) | |
download | plus-f3fcd24e8597feaabab67d0d354aef803958a465.tar.gz plus-f3fcd24e8597feaabab67d0d354aef803958a465.tar.bz2 plus-f3fcd24e8597feaabab67d0d354aef803958a465.tar.xz plus-f3fcd24e8597feaabab67d0d354aef803958a465.zip |
Fix possible crash with nav poinst rename dialog.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 32201a85b..f3d57df9e 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -984,6 +984,9 @@ void Game::changeMap(const std::string &mapPath) { resetAdjustLevel(); + if (viewport) + viewport->clearPopup(); + // Clean up floor items, beings and particles if (actorSpriteManager) actorSpriteManager->clear(); |