summaryrefslogtreecommitdiff
path: root/src/gui/char_select.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2008-04-19 14:19:24 +0000
committerYohann Ferreira <bertram@cegetel.net>2008-04-19 14:19:24 +0000
commita49b45b9778208f4e3456a52c74554143974837b (patch)
treef63156464c3e54fe219a4a6859ce08875338070a /src/gui/char_select.cpp
parentc3705b2d0e40d4a5ae183fafacb5ad57e5926f47 (diff)
downloadmana-a49b45b9778208f4e3456a52c74554143974837b.tar.gz
mana-a49b45b9778208f4e3456a52c74554143974837b.tar.bz2
mana-a49b45b9778208f4e3456a52c74554143974837b.tar.xz
mana-a49b45b9778208f4e3456a52c74554143974837b.zip
Made the client clean characters information at unlogging to avoid a freeze when relogging with another
account.
Diffstat (limited to 'src/gui/char_select.cpp')
-rw-r--r--src/gui/char_select.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp
index 71018b1e..d5a487fb 100644
--- a/src/gui/char_select.cpp
+++ b/src/gui/char_select.cpp
@@ -152,6 +152,7 @@ void CharSelectDialog::action(const gcn::ActionEvent &event)
}
else if (event.getId() == "cancel")
{
+ mCharInfo->clear();
state = STATE_SWITCH_ACCOUNTSERVER_ATTEMPT;
}
else if (event.getId() == "new")