summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-07 13:53:35 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-07 13:53:35 +0300
commitd21a9461e853d657c139b97cb474d8e2549d83a9 (patch)
treec4d770418006d7d87d7148c60bf5a5c5f2711708 /src/resources/db
parent1a6b16b7047b8558a5870318190b038b2b81556f (diff)
downloadmanaplus-d21a9461e853d657c139b97cb474d8e2549d83a9.tar.gz
manaplus-d21a9461e853d657c139b97cb474d8e2549d83a9.tar.bz2
manaplus-d21a9461e853d657c139b97cb474d8e2549d83a9.tar.xz
manaplus-d21a9461e853d657c139b97cb474d8e2549d83a9.zip
remove client.h include from some files.
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/colordb.cpp3
-rw-r--r--src/resources/db/itemdb.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/db/colordb.cpp b/src/resources/db/colordb.cpp
index 0e81ff1c0..8f4e1431c 100644
--- a/src/resources/db/colordb.cpp
+++ b/src/resources/db/colordb.cpp
@@ -21,7 +21,6 @@
#include "resources/db/colordb.h"
-#include "client.h"
#include "configuration.h"
#include "logger.h"
@@ -37,6 +36,8 @@ namespace
ColorDB::ColorLists mColorLists;
}
+extern int serverVersion;
+
void ColorDB::load()
{
if (mLoaded)
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index cc8c0338b..f7b1f6349 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -22,7 +22,6 @@
#include "resources/db/itemdb.h"
-#include "client.h"
#include "configuration.h"
#include "logger.h"
@@ -45,6 +44,8 @@ namespace
std::map<std::string, ItemSoundEvent> mSoundNames;
} // namespace
+extern int serverVersion;
+
// Forward declarations
static void loadSpriteRef(ItemInfo *const itemInfo, const XmlNodePtr node);
static void loadSoundRef(ItemInfo *const itemInfo, const XmlNodePtr node);