diff options
Diffstat (limited to 'src/resources/db')
-rw-r--r-- | src/resources/db/petdb.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/db/petdb.cpp b/src/resources/db/petdb.cpp index 397af6220..eeb8af9a0 100644 --- a/src/resources/db/petdb.cpp +++ b/src/resources/db/petdb.cpp @@ -92,6 +92,11 @@ void PETDB::load() currentInfo->setWalkSpeed(XML::getProperty(petNode, "walkSpeed", 0)); + currentInfo->setTargetOffsetX(XML::getProperty(petNode, + "offsetX", 0)); + currentInfo->setTargetOffsetY(XML::getProperty(petNode, + "offsetY", 1)); + SpriteDisplay display; for_each_xml_child_node(spriteNode, petNode) |