summaryrefslogtreecommitdiff
path: root/src/gamemodifiers.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-21 22:00:30 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-21 22:00:30 +0300
commit76dc498cd50fb5bc83b3d0a165df17781af35979 (patch)
tree6513853d484fa36e282afc2865e8e98f69100aeb /src/gamemodifiers.cpp
parentba307a72cb8bcfe068e362fab4a5e572d9ac65e9 (diff)
downloadmanaplus-76dc498cd50fb5bc83b3d0a165df17781af35979.tar.gz
manaplus-76dc498cd50fb5bc83b3d0a165df17781af35979.tar.bz2
manaplus-76dc498cd50fb5bc83b3d0a165df17781af35979.tar.xz
manaplus-76dc498cd50fb5bc83b3d0a165df17781af35979.zip
Call postInit after each window creation.
Diffstat (limited to 'src/gamemodifiers.cpp')
-rw-r--r--src/gamemodifiers.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gamemodifiers.cpp b/src/gamemodifiers.cpp
index 5cc79f7c6..158a6f2cd 100644
--- a/src/gamemodifiers.cpp
+++ b/src/gamemodifiers.cpp
@@ -442,6 +442,7 @@ void GameModifiers::changeAwayMode(const bool forward A_UNUSED)
ShowCenter_false,
nullptr,
260);
+ dialog->postInit();
localPlayer->setAwayDialog(dialog);
dialog->addActionListener(localPlayer->getAwayListener());
soundManager.volumeOff();