diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-21 22:53:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-21 22:54:27 +0300 |
commit | 9e7d90f2c93e0158e4c6312f8cf77fe9dd1583fd (patch) | |
tree | 89caf6194c2cd01d845147db367c4ce888883995 /src/resources/mapreader.cpp | |
parent | 27a943e95196a58103814edf3e4e3cd3a60ed8cd (diff) | |
download | manaplus-9e7d90f2c93e0158e4c6312f8cf77fe9dd1583fd.tar.gz manaplus-9e7d90f2c93e0158e4c6312f8cf77fe9dd1583fd.tar.bz2 manaplus-9e7d90f2c93e0158e4c6312f8cf77fe9dd1583fd.tar.xz manaplus-9e7d90f2c93e0158e4c6312f8cf77fe9dd1583fd.zip |
Add support for layers with conditional tiles.
For enable this mode for layer need add property: TileCondition
and set value to one of BlockMask bits.
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r-- | src/resources/mapreader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index 4fbef0d1b..9c0a9648f 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -272,6 +272,7 @@ Map *MapReader::readMap(const std::string &restrict filename, updateMusic(map); } + map->updateConditionLayers(); BLOCK_END("MapReader::readMap str") return map; } |