summaryrefslogtreecommitdiff
path: root/src/resources/db/weaponsdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-28 15:46:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-28 16:41:19 +0300
commitf146cd42ce84a08879eb286ecd2ed2aa8ad82300 (patch)
treef689f832f54f361be8cff61deb47c0e32febd486 /src/resources/db/weaponsdb.cpp
parent409cee51fe11e2495a2741226432666a8702dceb (diff)
downloadManaVerse-f146cd42ce84a08879eb286ecd2ed2aa8ad82300.tar.gz
ManaVerse-f146cd42ce84a08879eb286ecd2ed2aa8ad82300.tar.bz2
ManaVerse-f146cd42ce84a08879eb286ecd2ed2aa8ad82300.tar.xz
ManaVerse-f146cd42ce84a08879eb286ecd2ed2aa8ad82300.zip
fix code style.
Diffstat (limited to 'src/resources/db/weaponsdb.cpp')
-rw-r--r--src/resources/db/weaponsdb.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/resources/db/weaponsdb.cpp b/src/resources/db/weaponsdb.cpp
index 82892cc5f..6e8e4ce1f 100644
--- a/src/resources/db/weaponsdb.cpp
+++ b/src/resources/db/weaponsdb.cpp
@@ -20,13 +20,8 @@
#include "resources/db/weaponsdb.h"
-#include "logger.h"
-
-#include "utils/gettext.h"
#include "utils/xmlutils.h"
-#include "configuration.h"
-
#include "debug.h"
namespace
@@ -37,7 +32,7 @@ namespace
bool mLoaded = false;
}
-static void loadDB(const std::string name, WeaponsInfos &arr)
+static void loadDB(const std::string &name, WeaponsInfos &arr)
{
readXmlIntVector("weapons.xml",
"weapons",