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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/db/petdb.cpp b/src/resources/db/petdb.cpp
index 046146cce..cb8208179 100644
--- a/src/resources/db/petdb.cpp
+++ b/src/resources/db/petdb.cpp
@@ -109,6 +109,10 @@ void PETDB::load()
"moveOffsetX", 0));
currentInfo->setMoveOffsetY(XML::getProperty(petNode,
"moveOffsetY", 1));
+ currentInfo->setDeadOffsetX(XML::getProperty(petNode,
+ "deadOffsetX", 0));
+ currentInfo->setDeadOffsetY(XML::getProperty(petNode,
+ "deadOffsetY", 1));
currentInfo->setThinkTime(XML::getProperty(petNode,
"thinkTime", 500) / 10);