From 2f7a06e93ebd4974eb135b3a196d8cfa4b60b46d Mon Sep 17 00:00:00 2001 From: Henrique Santiago Date: Thu, 7 Feb 2013 02:19:19 -0200 Subject: [PATCH] Full ground option in otml --- src/client/thingtype.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/client/thingtype.cpp b/src/client/thingtype.cpp index 7f946e3e..0755ac69 100644 --- a/src/client/thingtype.cpp +++ b/src/client/thingtype.cpp @@ -150,6 +150,12 @@ void ThingType::unserializeOtml(const OTMLNodePtr& node) m_attribs.set(ThingAttrNotPreWalkable, node2->value()); else if(node2->tag() == "image") m_customImage = node2->value(); + else if(node2->tag() == "full-ground") { + if(node2->value()) + m_attribs.set(ThingAttrFullGround, true); + else + m_attribs.remove(ThingAttrFullGround); + } } }