summaryrefslogtreecommitdiff
path: root/src/resources/db/itemdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-29 21:06:30 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-30 00:03:20 +0300
commite2c1b87e38e5c921912b334ca971e92b7989f8a8 (patch)
treeeb95d5d620c5318403bafd014738906c3d602adf /src/resources/db/itemdb.cpp
parent370a8245ae3fbbfe449000b6bdaab366d08d925e (diff)
downloadmv-e2c1b87e38e5c921912b334ca971e92b7989f8a8.tar.gz
mv-e2c1b87e38e5c921912b334ca971e92b7989f8a8.tar.bz2
mv-e2c1b87e38e5c921912b334ca971e92b7989f8a8.tar.xz
mv-e2c1b87e38e5c921912b334ca971e92b7989f8a8.zip
Rename ItemDb::Stat into BasicStat.
Diffstat (limited to 'src/resources/db/itemdb.cpp')
-rw-r--r--src/resources/db/itemdb.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index b35290639..4218771d6 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -28,7 +28,7 @@
#include "enums/resources/spritedirection.h"
-#include "resources/itemdbstat.h"
+#include "resources/basicstat.h"
#include "resources/iteminfo.h"
#include "resources/itemtypemapdata.h"
@@ -513,8 +513,8 @@ void ItemDB::loadXmlFile(const std::string &fileName,
std::string effect;
readFields(effect, node, requiredFields);
readFields(effect, node, addFields);
- const std::vector<Stat> &extraStats = StatDb::getExtraStats();
- FOR_EACH (std::vector<Stat>::const_iterator, it, extraStats)
+ const std::vector<BasicStat> &extraStats = StatDb::getExtraStats();
+ FOR_EACH (std::vector<BasicStat>::const_iterator, it, extraStats)
{
std::string value = XML::getProperty(
node, it->tag.c_str(), "");