diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-24 14:55:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-25 20:06:07 +0300 |
commit | 9d521a19be347703bfdbb7802d0397a59c3edd7a (patch) | |
tree | 9a4e56edc84d5cfd8ebaea17fa19296c51e1e661 /src/client.cpp | |
parent | 841fe55e67ea467a8e2192dee5c169d282a35148 (diff) | |
download | manaplus-9d521a19be347703bfdbb7802d0397a59c3edd7a.tar.gz manaplus-9d521a19be347703bfdbb7802d0397a59c3edd7a.tar.bz2 manaplus-9d521a19be347703bfdbb7802d0397a59c3edd7a.tar.xz manaplus-9d521a19be347703bfdbb7802d0397a59c3edd7a.zip |
Add missing checks in windows.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/client.cpp b/src/client.cpp index e7aeed7e8..d23ec9586 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1088,7 +1088,7 @@ int Client::gameExec() || settings.options.password.empty()) { CREATEWIDGETV(mCurrentDialog, LoginDialog, - &loginData, + loginData, mCurrentServer.hostname, &settings.options.updateHost); } @@ -1296,7 +1296,7 @@ int Client::gameExec() theme->setMinimumOpacity(0.8F); CREATEWIDGETV(mCurrentDialog, CharSelectDialog, - &loginData); + loginData); if (!(static_cast<CharSelectDialog*>(mCurrentDialog)) ->selectByName(settings.options.character, @@ -1434,7 +1434,7 @@ int Client::gameExec() case STATE_REGISTER: logger->log1("State: REGISTER"); CREATEWIDGETV(mCurrentDialog, RegisterDialog, - &loginData); + loginData); break; case STATE_REGISTER_ATTEMPT: @@ -1448,7 +1448,7 @@ int Client::gameExec() BLOCK_START("Client::gameExec STATE_CHANGEPASSWORD") logger->log1("State: CHANGE PASSWORD"); CREATEWIDGETV(mCurrentDialog, ChangePasswordDialog, - &loginData); + loginData); mCurrentDialog->setVisible(Visible_true); BLOCK_END("Client::gameExec STATE_CHANGEPASSWORD") break; @@ -1488,7 +1488,7 @@ int Client::gameExec() case STATE_CHANGEEMAIL: logger->log1("State: CHANGE EMAIL"); CREATEWIDGETV(mCurrentDialog, ChangeEmailDialog, - &loginData); + loginData); mCurrentDialog->setVisible(Visible_true); break; @@ -1518,7 +1518,7 @@ int Client::gameExec() case STATE_UNREGISTER: logger->log1("State: UNREGISTER"); CREATEWIDGETV(mCurrentDialog, UnRegisterDialog, - &loginData); + loginData); break; case STATE_UNREGISTER_ATTEMPT: |