diff options
author | Stefan Dombrowski <stefan@uni-bonn.de> | 2009-12-19 10:43:31 +0100 |
---|---|---|
committer | Freeyorp <Freeyorp101@hotmail.com> | 2009-12-19 22:58:09 +1300 |
commit | 117cc13e863b788bfc8adef9468dba54c4909b9b (patch) | |
tree | 20af4e24eb5a12396cae36e3c247a8ffb41a9d35 | |
parent | 58149dca937410826971f99b72e304121e61abb7 (diff) | |
download | mana-client-117cc13e863b788bfc8adef9468dba54c4909b9b.tar.gz mana-client-117cc13e863b788bfc8adef9468dba54c4909b9b.tar.bz2 mana-client-117cc13e863b788bfc8adef9468dba54c4909b9b.tar.xz mana-client-117cc13e863b788bfc8adef9468dba54c4909b9b.zip |
Fixing bug in charselectdialog
How to reproduce the bug: Start eathenas login-server and char-server
but not the map-server. On the second attempt to login all slots of the
charselectdialog show the same character and login fails.
-rw-r--r-- | src/gui/charselectdialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/charselectdialog.h b/src/gui/charselectdialog.h index 507b0d9f..6144847a 100644 --- a/src/gui/charselectdialog.h +++ b/src/gui/charselectdialog.h @@ -58,6 +58,8 @@ class CharSelectDialog : public Window, public gcn::ActionListener, CharSelectDialog(LockedArray<LocalPlayer*> *charInfo, LoginData *loginData); + ~CharSelectDialog() { mCharInfo->clear(); }; + void action(const gcn::ActionEvent &event); void keyPressed(gcn::KeyEvent &keyEvent); |