summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-08 11:00:57 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-08 11:00:57 +0300
commit41b1958bffdec520c30c476fc8c6371873b940d3 (patch)
tree2bb2d34c7ca90c7cc9b2b31e69d70138fbb28e4e /src/resources/db
parentc6dbf10ed70e6f94d28ad555545b7522ea7348b8 (diff)
downloadmanaplus-41b1958bffdec520c30c476fc8c6371873b940d3.tar.gz
manaplus-41b1958bffdec520c30c476fc8c6371873b940d3.tar.bz2
manaplus-41b1958bffdec520c30c476fc8c6371873b940d3.tar.xz
manaplus-41b1958bffdec520c30c476fc8c6371873b940d3.zip
Fix code style.
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/commandsdb.cpp6
-rw-r--r--src/resources/db/commandsdb.h2
2 files changed, 2 insertions, 6 deletions
diff --git a/src/resources/db/commandsdb.cpp b/src/resources/db/commandsdb.cpp
index c5c1d9e3c..6b7580dea 100644
--- a/src/resources/db/commandsdb.cpp
+++ b/src/resources/db/commandsdb.cpp
@@ -28,9 +28,6 @@
#include "resources/beingcommon.h"
-#include "utils/dtor.h"
-#include "utils/gettext.h"
-
#include "debug.h"
namespace
@@ -121,7 +118,8 @@ void CommandsDB::loadXmlFile(const std::string &fileName)
if (skill1)
{
cmd = new TextCommand(id, name, command, comment,
- targetType, icon, level1, static_cast<MagicSchool>(skill2), level2, mana);
+ targetType, icon, level1, static_cast<MagicSchool>(skill2),
+ level2, mana);
}
else
{
diff --git a/src/resources/db/commandsdb.h b/src/resources/db/commandsdb.h
index 1725171d1..d45cf19fe 100644
--- a/src/resources/db/commandsdb.h
+++ b/src/resources/db/commandsdb.h
@@ -23,8 +23,6 @@
#ifndef RESOURCES_DB_COMMANDSDB_H
#define RESOURCES_DB_COMMANDSDB_H
-#include "resources/modinfo.h"
-
#include <map>
#include <string>