summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-19 15:01:42 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:25 +0300
commit3feb3ff102358390f11a032ac98870656cdd639a (patch)
treeb07d58cad8e5e30fbaf91fb1a7559107613dd7c2 /src/client.cpp
parentff2f1d8b9a15aea5e3e6fd00eae8dc21ed7f0459 (diff)
downloadmanaplus-3feb3ff102358390f11a032ac98870656cdd639a.tar.gz
manaplus-3feb3ff102358390f11a032ac98870656cdd639a.tar.bz2
manaplus-3feb3ff102358390f11a032ac98870656cdd639a.tar.xz
manaplus-3feb3ff102358390f11a032ac98870656cdd639a.zip
move virtual member calls from worldselectdialog constructor into postInit.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 222322f22..946c4481b 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1309,6 +1309,7 @@ int Client::gameExec()
else
{
mCurrentDialog = new WorldSelectDialog(worlds);
+ mCurrentDialog->postInit();
if (mOptions.chooseDefault)
{
static_cast<WorldSelectDialog*>(mCurrentDialog)