summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-31 15:41:34 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-31 15:41:34 +0300
commit62879acf891f1939e16fa32d2426b56f08f1609b (patch)
tree4ac1e15f9b386478af79be32a3a3b7f7093a8585 /src/resources/db
parent94342625a7e97c1f4adda6f0788c85c8d112b3a5 (diff)
downloadmanaplus-62879acf891f1939e16fa32d2426b56f08f1609b.tar.gz
manaplus-62879acf891f1939e16fa32d2426b56f08f1609b.tar.bz2
manaplus-62879acf891f1939e16fa32d2426b56f08f1609b.tar.xz
manaplus-62879acf891f1939e16fa32d2426b56f08f1609b.zip
add pet direction type if owner dead.
New pet db attribute: deadDirectionType
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/petdb.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/db/petdb.cpp b/src/resources/db/petdb.cpp
index cb8208179..0e81203ff 100644
--- a/src/resources/db/petdb.cpp
+++ b/src/resources/db/petdb.cpp
@@ -121,6 +121,8 @@ void PETDB::load()
"directionType", 1));
currentInfo->setSitDirectionType(XML::getProperty(petNode,
"sitDirectionType", 1));
+ currentInfo->setDeadDirectionType(XML::getProperty(petNode,
+ "deadDirectionType", 1));
SpriteDisplay display;
for_each_xml_child_node(spriteNode, petNode)