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/map/map.cpp | |
parent | 8a70dcea8686a6b0e161143f19f9a53a8223ef68 (diff) | |
download | manaplus-407a4233221c2280ef2a92914c8d23e463aa665c.tar.gz manaplus-407a4233221c2280ef2a92914c8d23e463aa665c.tar.bz2 manaplus-407a4233221c2280ef2a92914c8d23e463aa665c.tar.xz manaplus-407a4233221c2280ef2a92914c8d23e463aa665c.zip |
Fix draw map layers before switching map modes.
Diffstat (limited to 'src/resources/map/map.cpp')
-rw-r--r-- | src/resources/map/map.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp index 9f4feb87b..aa7248c8d 100644 --- a/src/resources/map/map.cpp +++ b/src/resources/map/map.cpp @@ -1551,8 +1551,11 @@ void Map::updateDrawLayersList() void Map::setMask(const int mask) { if (mask != mMask) + { mRedrawMap = true; - mMask = mask; + mMask = mask; + updateDrawLayersList(); + } } void Map::setMusicFile(const std::string &file) |