diff options
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(); } } |