diff options
Diffstat (limited to 'src/gui/charselectdialog.cpp')
-rw-r--r-- | src/gui/charselectdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp index 8daf1e279..92f1aeba8 100644 --- a/src/gui/charselectdialog.cpp +++ b/src/gui/charselectdialog.cpp @@ -266,16 +266,16 @@ void CharSelectDialog::action(const gcn::ActionEvent &event) } else if (eventId == "change_password") { - Client::setState(STATE_CHANGEPASSWORD); + client->setState(STATE_CHANGEPASSWORD); } else if (eventId == "change_email") { - Client::setState(STATE_CHANGEEMAIL); + client->setState(STATE_CHANGEEMAIL); } else if (eventId == "unregister") { Net::getCharServerHandler()->clear(); - Client::setState(STATE_UNREGISTER); + client->setState(STATE_UNREGISTER); } else if (eventId == "try delete character") { @@ -552,7 +552,7 @@ bool CharSelectDialog::selectByName(const std::string &name, void CharSelectDialog::close() { - Client::setState(STATE_SWITCH_LOGIN); + client->setState(STATE_SWITCH_LOGIN); Window::close(); } |