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.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/db/petdb.cpp b/src/resources/db/petdb.cpp
index 072dad7c0..631dceb60 100644
--- a/src/resources/db/petdb.cpp
+++ b/src/resources/db/petdb.cpp
@@ -103,8 +103,11 @@ void PETDB::load()
currentInfo->setThinkTime(XML::getProperty(petNode,
"thinkTime", 500) / 10);
+
currentInfo->setDirectionType(XML::getProperty(petNode,
"directionType", 1));
+ currentInfo->setSitDirectionType(XML::getProperty(petNode,
+ "sitDirectionType", 1));
SpriteDisplay display;
for_each_xml_child_node(spriteNode, petNode)