summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-03 19:39:09 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-03 19:39:09 +0300
commita361e595a3f8494903d8d66501cca2fe5b80307a (patch)
treef1d3ce40654a1bfd08b5a4035218dd381064b17d /src/resources
parent41adf75fa42f497e9f0049a786f08f3414ed6cbd (diff)
downloadmv-a361e595a3f8494903d8d66501cca2fe5b80307a.tar.gz
mv-a361e595a3f8494903d8d66501cca2fe5b80307a.tar.bz2
mv-a361e595a3f8494903d8d66501cca2fe5b80307a.tar.xz
mv-a361e595a3f8494903d8d66501cca2fe5b80307a.zip
Add misisng check in map reader.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/mapreader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index 780156910..40a64217d 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -272,9 +272,10 @@ Map *MapReader::readMap(const std::string &restrict filename,
if (map->getProperty("music").empty())
updateMusic(map);
+
+ map->updateConditionLayers();
}
- map->updateConditionLayers();
BLOCK_END("MapReader::readMap str")
return map;
}