summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-02 17:56:13 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-02 17:56:13 +0300
commit1003a7a74f72f17f59f4a74eacf95a1744a64506 (patch)
tree59e3dfae9c470426dea48b4b3aa221c40800072e /src/client.cpp
parentce2e90b35291abe32c47e21569a58e9eb22cc87b (diff)
downloadmv-1003a7a74f72f17f59f4a74eacf95a1744a64506.tar.gz
mv-1003a7a74f72f17f59f4a74eacf95a1744a64506.tar.bz2
mv-1003a7a74f72f17f59f4a74eacf95a1744a64506.tar.xz
mv-1003a7a74f72f17f59f4a74eacf95a1744a64506.zip
Move death dialog showing from playerhandler.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index f0919ed9a..b12d4a004 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -382,7 +382,7 @@ void Client::gameInit()
gui = new Gui();
gui->postInit(mainGraphics);
-
+ dialogsManager = new DialogsManager;
popupManager = new PopupManager;
initSoundManager();
@@ -654,6 +654,7 @@ void Client::gameClear()
delete2(mCurrentDialog);
delete2(popupManager);
+ delete2(dialogsManager);
delete2(gui);
if (inventoryHandler)