summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 9f860b669..6f6c78f7c 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -54,6 +54,7 @@
#include "gui/dialogsmanager.h"
#include "gui/gui.h"
#include "gui/skin.h"
+#include "gui/popupmanager.h"
#include "gui/theme.h"
#include "gui/windowmanager.h"
@@ -381,6 +382,8 @@ void Client::gameInit()
gui = new Gui();
gui->postInit(mainGraphics);
+ popupManager = new PopupManager;
+
initSoundManager();
eventsManager.init();
@@ -645,6 +648,7 @@ void Client::gameClear()
logger->log1("Quitting2");
delete2(mCurrentDialog);
+ delete2(popupManager);
delete2(gui);
if (Net::getInventoryHandler())