From 117cc13e863b788bfc8adef9468dba54c4909b9b Mon Sep 17 00:00:00 2001 From: Stefan Dombrowski Date: Sat, 19 Dec 2009 10:43:31 +0100 Subject: 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. --- src/gui/charselectdialog.h | 2 ++ 1 file changed, 2 insertions(+) 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 *charInfo, LoginData *loginData); + ~CharSelectDialog() { mCharInfo->clear(); }; + void action(const gcn::ActionEvent &event); void keyPressed(gcn::KeyEvent &keyEvent); -- cgit v1.2.3-70-g09d2