summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 20:27:43 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:21 +0300
commitde920d02e5841bf8147c6b0ed14d83f3874ddf62 (patch)
tree04738ba32d9860c02e01f16c211e936aac78a8b7 /src/client.cpp
parent0d5c5aa4e8f66c36d5f78d0da449ee6becdb8298 (diff)
downloadmanaverse-de920d02e5841bf8147c6b0ed14d83f3874ddf62.tar.gz
manaverse-de920d02e5841bf8147c6b0ed14d83f3874ddf62.tar.bz2
manaverse-de920d02e5841bf8147c6b0ed14d83f3874ddf62.tar.xz
manaverse-de920d02e5841bf8147c6b0ed14d83f3874ddf62.zip
move virtual member calls from registerdialog constuctor 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 0448160f4..33b0ffbb0 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1591,6 +1591,7 @@ int Client::gameExec()
case STATE_REGISTER:
logger->log1("State: REGISTER");
mCurrentDialog = new RegisterDialog(&loginData);
+ mCurrentDialog->postInit();
break;
case STATE_REGISTER_ATTEMPT: