summaryrefslogtreecommitdiff
path: root/src/resources/db/monsterdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-11 16:44:15 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-11 16:44:15 +0300
commit77bb74bd2d944be1a1dc719027dbf37ad088b828 (patch)
tree0feb040a768eff20220835eb359e767dc43f113c /src/resources/db/monsterdb.cpp
parent835dd846af75ea2cfc91f0134156f9c6545dd8ce (diff)
downloadmanaplus-77bb74bd2d944be1a1dc719027dbf37ad088b828.tar.gz
manaplus-77bb74bd2d944be1a1dc719027dbf37ad088b828.tar.bz2
manaplus-77bb74bd2d944be1a1dc719027dbf37ad088b828.tar.xz
manaplus-77bb74bd2d944be1a1dc719027dbf37ad088b828.zip
Move blocktype into separate file.
Diffstat (limited to 'src/resources/db/monsterdb.cpp')
-rw-r--r--src/resources/db/monsterdb.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/db/monsterdb.cpp b/src/resources/db/monsterdb.cpp
index 7bdbeb33d..8f11f2411 100644
--- a/src/resources/db/monsterdb.cpp
+++ b/src/resources/db/monsterdb.cpp
@@ -27,6 +27,8 @@
#include "resources/beingcommon.h"
#include "resources/beinginfo.h"
+#include "resources/map/blocktype.h"
+
#include "utils/dtor.h"
#include "utils/gettext.h"
@@ -96,7 +98,7 @@ void MonsterDB::loadXmlFile(const std::string &fileName)
currentInfo->setWalkMask(Map::BLOCKMASK_WALL
| Map::BLOCKMASK_CHARACTER | Map::BLOCKMASK_MONSTER);
- currentInfo->setBlockType(Map::BLOCKTYPE_MONSTER);
+ currentInfo->setBlockType(BlockType::MONSTER);
currentInfo->setName(XML::langProperty(
// TRANSLATORS: unknown info name