summaryrefslogtreecommitdiff
path: root/src/gui/charselectdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/charselectdialog.h')
-rw-r--r--src/gui/charselectdialog.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/charselectdialog.h b/src/gui/charselectdialog.h
index b6e71715..455ec2df 100644
--- a/src/gui/charselectdialog.h
+++ b/src/gui/charselectdialog.h
@@ -22,10 +22,6 @@
#ifndef CHAR_SELECT_H
#define CHAR_SELECT_H
-#include "guichanfwd.h"
-#include "main.h"
-#include "player.h"
-
#include "gui/widgets/window.h"
#include "net/charhandler.h"
@@ -100,8 +96,8 @@ class CharSelectDialog : public Window, public gcn::ActionListener,
gcn::Button *mUnregisterButton;
gcn::Button *mChangeEmailButton;
- enum { MAX_CHARACTER_COUNT = 3 };
- CharacterDisplay *mCharacterEntries[MAX_CHARACTER_COUNT];
+ /** The player boxes */
+ std::vector<CharacterDisplay*> mCharacterEntries;
LoginData *mLoginData;