diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-18 12:41:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-18 12:41:59 +0300 |
commit | e714f084284e14ff8a338d68c15088ab7662a42f (patch) | |
tree | 5bf1e5e5888898088063b4aa9fff42baa8bb6ccb /src/resources/mapreader.cpp | |
parent | a7f558d18bb10042a27be503c329167a856b8a80 (diff) | |
download | manaplus-e714f084284e14ff8a338d68c15088ab7662a42f.tar.gz manaplus-e714f084284e14ff8a338d68c15088ab7662a42f.tar.bz2 manaplus-e714f084284e14ff8a338d68c15088ab7662a42f.tar.xz manaplus-e714f084284e14ff8a338d68c15088ab7662a42f.zip |
Enable some features for tmw like servers.
Now this features enabled because ManaPlus supported on this servers.
Enabled features:
race sprites draw
npc option for not allow select npc
map layer properties.
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r-- | src/resources/mapreader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index a8388e5a9..cd0b68163 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -486,7 +486,7 @@ void MapReader::readLayer(const XmlNodePtr node, Map *const map) // Load the tile data for_each_xml_child_node(childNode, node) { - if (serverVersion > 0 && xmlNameEqual(childNode, "properties")) + if (xmlNameEqual(childNode, "properties")) { for_each_xml_child_node(prop, childNode) { |