mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
Full ground option in otml
This commit is contained in:
parent
7f918a12a2
commit
2f7a06e93e
@ -150,6 +150,12 @@ void ThingType::unserializeOtml(const OTMLNodePtr& node)
|
|||||||
m_attribs.set(ThingAttrNotPreWalkable, node2->value<bool>());
|
m_attribs.set(ThingAttrNotPreWalkable, node2->value<bool>());
|
||||||
else if(node2->tag() == "image")
|
else if(node2->tag() == "image")
|
||||||
m_customImage = node2->value();
|
m_customImage = node2->value();
|
||||||
|
else if(node2->tag() == "full-ground") {
|
||||||
|
if(node2->value<bool>())
|
||||||
|
m_attribs.set(ThingAttrFullGround, true);
|
||||||
|
else
|
||||||
|
m_attribs.remove(ThingAttrFullGround);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user