summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/charselectdialog.cpp2
-rw-r--r--src/gui/quitdialog.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp
index 13dc8dd6..12980e7b 100644
--- a/src/gui/charselectdialog.cpp
+++ b/src/gui/charselectdialog.cpp
@@ -182,7 +182,7 @@ void CharSelectDialog::action(const gcn::ActionEvent &event)
else if (event.getId() == "switch")
{
mCharInfo->clear();
- state = STATE_SWITCH_SERVER_ATTEMPT;
+ state = STATE_SWITCH_LOGIN;
}
else if (event.getId() == "new")
{
diff --git a/src/gui/quitdialog.cpp b/src/gui/quitdialog.cpp
index b2faa618..8003cb2c 100644
--- a/src/gui/quitdialog.cpp
+++ b/src/gui/quitdialog.cpp
@@ -118,7 +118,7 @@ void QuitDialog::action(const gcn::ActionEvent &event)
*mQuitGame = true;
}
- state = STATE_SWITCH_SERVER_ATTEMPT;
+ state = STATE_SWITCH_SERVER;
}
else if (mSwitchCharacter->isSelected())
{