summaryrefslogtreecommitdiff
path: root/src/resources/map/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/map.cpp')
-rw-r--r--src/resources/map/map.cpp5
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)