summaryrefslogtreecommitdiff
path: root/src/resources/db/petdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/petdb.cpp')
-rw-r--r--src/resources/db/petdb.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/db/petdb.cpp b/src/resources/db/petdb.cpp
index 169c8ee39..829da3ef6 100644
--- a/src/resources/db/petdb.cpp
+++ b/src/resources/db/petdb.cpp
@@ -82,6 +82,11 @@ void PETDB::load()
currentInfo->setDeadSortOffsetY(XML::getProperty(petNode,
"deadSortOffsetY", 31));
+ currentInfo->setStartFollowDist(XML::getProperty(petNode,
+ "startFollowDistance", 3));
+ currentInfo->setFollowDist(XML::getProperty(petNode,
+ "followDistance", 1));
+
SpriteDisplay display;
for_each_xml_child_node(spriteNode, petNode)
{