summaryrefslogtreecommitdiff
path: root/src/resources/db/mercenarydb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-08 18:46:21 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-08 18:46:21 +0300
commit461bfb657a0300f27e3ffed55a78ce9249b54759 (patch)
tree0612c7f0c76bfec8792fbef2643de8cba5d60c0c /src/resources/db/mercenarydb.cpp
parentf57e4aa60a10e33ba707417c08eec9a99a796f9e (diff)
downloadmv-461bfb657a0300f27e3ffed55a78ce9249b54759.tar.gz
mv-461bfb657a0300f27e3ffed55a78ce9249b54759.tar.bz2
mv-461bfb657a0300f27e3ffed55a78ce9249b54759.tar.xz
mv-461bfb657a0300f27e3ffed55a78ce9249b54759.zip
Fix on client side walking on monster wall collision.
Diffstat (limited to 'src/resources/db/mercenarydb.cpp')
-rw-r--r--src/resources/db/mercenarydb.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/db/mercenarydb.cpp b/src/resources/db/mercenarydb.cpp
index 7d481403c..8e3d1f913 100644
--- a/src/resources/db/mercenarydb.cpp
+++ b/src/resources/db/mercenarydb.cpp
@@ -96,6 +96,7 @@ void MercenaryDB::loadXmlFile(const std::string &fileName,
currentInfo->setBlockType(BlockType::NONE);
BeingCommon::readBasicAttributes(currentInfo, mercenaryNode, "attack");
+ BeingCommon::readWalkingAttributes(currentInfo, mercenaryNode, 0);
currentInfo->setMaxHP(XML::getProperty(mercenaryNode, "maxHP", 0));