summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-15 21:53:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-15 22:18:24 +0300
commit60580edaea11f6a39ef8786e6576110b81fa106c (patch)
tree76444d3fd2bbf12eb870c4547491708c4ed2579b /src/resources/db
parent870669f856c61c1a9e9c7b782cab412c4859be88 (diff)
downloadmv-60580edaea11f6a39ef8786e6576110b81fa106c.tar.gz
mv-60580edaea11f6a39ef8786e6576110b81fa106c.tar.bz2
mv-60580edaea11f6a39ef8786e6576110b81fa106c.tar.xz
mv-60580edaea11f6a39ef8786e6576110b81fa106c.zip
Remove CHARACTER and MONSTER block mask and block type because it unused.
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/homunculusdb.cpp2
-rw-r--r--src/resources/db/mercenarydb.cpp2
-rw-r--r--src/resources/db/monsterdb.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/db/homunculusdb.cpp b/src/resources/db/homunculusdb.cpp
index 4cf2671b4..67be7502d 100644
--- a/src/resources/db/homunculusdb.cpp
+++ b/src/resources/db/homunculusdb.cpp
@@ -92,7 +92,7 @@ void HomunculusDB::loadXmlFile(const std::string &fileName)
if (!currentInfo)
currentInfo = new BeingInfo;
- currentInfo->setBlockType(BlockType::MONSTER);
+ currentInfo->setBlockType(BlockType::NONE);
BeingCommon::readBasicAttributes(currentInfo,
homunculusNode, "attack");
diff --git a/src/resources/db/mercenarydb.cpp b/src/resources/db/mercenarydb.cpp
index 1d8d21173..59165f29c 100644
--- a/src/resources/db/mercenarydb.cpp
+++ b/src/resources/db/mercenarydb.cpp
@@ -92,7 +92,7 @@ void MercenaryDB::loadXmlFile(const std::string &fileName)
if (!currentInfo)
currentInfo = new BeingInfo;
- currentInfo->setBlockType(BlockType::MONSTER);
+ currentInfo->setBlockType(BlockType::NONE);
BeingCommon::readBasicAttributes(currentInfo, mercenaryNode, "attack");
currentInfo->setMaxHP(XML::getProperty(mercenaryNode, "maxHP", 0));
diff --git a/src/resources/db/monsterdb.cpp b/src/resources/db/monsterdb.cpp
index 813497b2a..47af5b557 100644
--- a/src/resources/db/monsterdb.cpp
+++ b/src/resources/db/monsterdb.cpp
@@ -95,7 +95,7 @@ void MonsterDB::loadXmlFile(const std::string &fileName)
if (!currentInfo)
currentInfo = new BeingInfo;
- currentInfo->setBlockType(BlockType::MONSTER);
+ currentInfo->setBlockType(BlockType::NONE);
currentInfo->setName(XML::langProperty(
// TRANSLATORS: unknown info name
monsterNode, "name", _("unnamed")));