diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-27 19:05:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-27 21:01:39 +0300 |
commit | 8150191686759b13a239c25970924c3c186140ff (patch) | |
tree | 6004551128df40dcf178ca639fe42490f80d2c01 /src/gui/quitdialog.cpp | |
parent | 18d8872333e2e433ce7b9e7be71706de37933097 (diff) | |
download | manaplus-8150191686759b13a239c25970924c3c186140ff.tar.gz manaplus-8150191686759b13a239c25970924c3c186140ff.tar.bz2 manaplus-8150191686759b13a239c25970924c3c186140ff.tar.xz manaplus-8150191686759b13a239c25970924c3c186140ff.zip |
improve charserverhandler class.
Diffstat (limited to 'src/gui/quitdialog.cpp')
-rw-r--r-- | src/gui/quitdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/quitdialog.cpp b/src/gui/quitdialog.cpp index 4ded1450f..3bf63c9a1 100644 --- a/src/gui/quitdialog.cpp +++ b/src/gui/quitdialog.cpp @@ -39,7 +39,7 @@ #include "gui/widgets/button.h" #include "gui/widgets/radiobutton.h" -#include "net/charhandler.h" +#include "net/charserverhandler.h" #include "net/gamehandler.h" #include "net/npchandler.h" #include "net/net.h" @@ -188,7 +188,7 @@ void QuitDialog::action(const gcn::ActionEvent &event) { if (Client::getState() == STATE_GAME) { - Net::getCharHandler()->switchCharacter(); + Net::getCharServerHandler()->switchCharacter(); Game::closeDialogs(); } } |