summaryrefslogtreecommitdiff
path: root/src/resources/db/horsedb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/horsedb.cpp')
-rw-r--r--src/resources/db/horsedb.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/db/horsedb.cpp b/src/resources/db/horsedb.cpp
index 701bfd2f9..081a12c6f 100644
--- a/src/resources/db/horsedb.cpp
+++ b/src/resources/db/horsedb.cpp
@@ -141,6 +141,10 @@ void HorseDB::loadXmlFile(const std::string &fileName,
"downOffsetX", offsetX);
currentInfo->downOffsetY = XML::getProperty(horseNode,
"downOffsetY", offsetY);
+ currentInfo->riderOffsetX = XML::getProperty(horseNode,
+ "riderOffsetX", 0);
+ currentInfo->riderOffsetY = XML::getProperty(horseNode,
+ "riderOffsetY", 0);
for_each_xml_child_node(spriteNode, horseNode)
{