summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 2a8005f5..824eb7d1 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -252,6 +252,9 @@ Game::~Game()
delete mMinimapWindow;
delete mMiniStatusWindow;
+ WindowContainer *top = static_cast<WindowContainer*>(gui->getTop());
+ top->clearLayout();
+
destroyGuiWindows();
del_0(actorSpriteManager)