diff options
Diffstat (limited to 'src/resources/monsterdb.cpp')
-rw-r--r-- | src/resources/monsterdb.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/resources/monsterdb.cpp b/src/resources/monsterdb.cpp index 9e8da1b44..f3c81d52d 100644 --- a/src/resources/monsterdb.cpp +++ b/src/resources/monsterdb.cpp @@ -110,8 +110,13 @@ void MonsterDB::loadXmlFile(const std::string &fileName) currentInfo->setTargetOffsetY(XML::getProperty(monsterNode, "targetOffsetY", 0)); - currentInfo->setMaxHP(XML::getProperty(monsterNode, "maxHP", 0)); + currentInfo->setNameOffsetX(XML::getProperty(monsterNode, + "nameOffsetX", 0)); + + currentInfo->setNameOffsetY(XML::getProperty(monsterNode, + "nameOffsetY", 0)); + currentInfo->setMaxHP(XML::getProperty(monsterNode, "maxHP", 0)); currentInfo->setSortOffsetY(XML::getProperty( monsterNode, "sortOffsetY", 0)); |