summaryrefslogtreecommitdiff
path: root/src/gui/charcreatedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/charcreatedialog.cpp')
-rw-r--r--src/gui/charcreatedialog.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/charcreatedialog.cpp b/src/gui/charcreatedialog.cpp
index e90a12a0d..ba2e06661 100644
--- a/src/gui/charcreatedialog.cpp
+++ b/src/gui/charcreatedialog.cpp
@@ -22,15 +22,11 @@
#include "gui/charcreatedialog.h"
-#include "client.h"
-#include "game.h"
#include "keydata.h"
#include "keyevent.h"
-#include "localplayer.h"
#include "main.h"
#include "units.h"
-#include "gui/charselectdialog.h"
#include "gui/confirmdialog.h"
#include "gui/okdialog.h"
@@ -42,7 +38,6 @@
#include "gui/widgets/slider.h"
#include "gui/widgets/textfield.h"
-#include "net/charhandler.h"
#include "net/messageout.h"
#include "net/net.h"
@@ -52,12 +47,13 @@
#include "resources/iteminfo.h"
#include "utils/gettext.h"
-#include "utils/stringutils.h"
#include <guichan/font.hpp>
#include "debug.h"
+extern int serverVersion;
+
static const Being::Action actions[] =
{
Being::STAND, Being::SIT, Being::MOVE, Being::ATTACK, Being::DEAD