summaryrefslogtreecommitdiff
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
parentc3705b2d0e40d4a5ae183fafacb5ad57e5926f47 (diff)
downloadmana-client-a49b45b9778208f4e3456a52c74554143974837b.tar.gz
mana-client-a49b45b9778208f4e3456a52c74554143974837b.tar.bz2
mana-client-a49b45b9778208f4e3456a52c74554143974837b.tar.xz
mana-client-a49b45b9778208f4e3456a52c74554143974837b.zip
Made the client clean characters information at unlogging to avoid a freeze when relogging with another
account.
-rw-r--r--ChangeLog5
-rw-r--r--src/gui/char_select.cpp1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3465986a..cd2f952f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-19 Yohann Ferreira <bertram@cegetel.net>
+
+ * src/gui/char_select.cpp: Made the client clean characters information
+ to avoid a freeze at relogin with another account.
+
2008-04-19 Dennis Friis <peavey@placid.dk>
* src/Makefile.am: Fix a double entry and add missing files.
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")