summaryrefslogtreecommitdiff
path: root/src/resources/npcdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/npcdb.cpp')
-rw-r--r--src/resources/npcdb.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resources/npcdb.cpp b/src/resources/npcdb.cpp
index bafef22c8..103bbb805 100644
--- a/src/resources/npcdb.cpp
+++ b/src/resources/npcdb.cpp
@@ -102,6 +102,12 @@ void NPCDB::loadXmlFile(const std::string &fileName)
currentInfo->setTargetOffsetY(XML::getProperty(npcNode,
"targetOffsetY", 0));
+ currentInfo->setNameOffsetX(XML::getProperty(npcNode,
+ "nameOffsetX", 0));
+
+ currentInfo->setNameOffsetY(XML::getProperty(npcNode,
+ "nameOffsetY", 0));
+
currentInfo->setSortOffsetY(XML::getProperty(npcNode,
"sortOffsetY", 0));