diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-15 22:38:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-15 22:38:57 +0300 |
commit | 407a4233221c2280ef2a92914c8d23e463aa665c (patch) | |
tree | ba069236bf9c57e8fce100e12242b8f82ad486b1 /src/resources/mapreader.cpp | |
parent | 8a70dcea8686a6b0e161143f19f9a53a8223ef68 (diff) | |
download | plus-407a4233221c2280ef2a92914c8d23e463aa665c.tar.gz plus-407a4233221c2280ef2a92914c8d23e463aa665c.tar.bz2 plus-407a4233221c2280ef2a92914c8d23e463aa665c.tar.xz plus-407a4233221c2280ef2a92914c8d23e463aa665c.zip |
Fix draw map layers before switching map modes.
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 7b21cd1d0..825be9a25 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -461,8 +461,8 @@ Map *MapReader::readMap(XmlNodePtrConst node, const std::string &path) map->reduce(); map->setWalkLayer(resman->getWalkLayer(fileName, map)); unloadTempLayers(); - BLOCK_END("MapReader::readMap xml") map->updateDrawLayersList(); + BLOCK_END("MapReader::readMap xml") return map; } |