summaryrefslogtreecommitdiff
path: root/src/gui/windows/minimap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/minimap.cpp')
-rw-r--r--src/gui/windows/minimap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp
index 70a2361cd..81d52387b 100644
--- a/src/gui/windows/minimap.cpp
+++ b/src/gui/windows/minimap.cpp
@@ -145,8 +145,8 @@ void Minimap::setMap(const Map *const map)
return;
}
const int size = surface->h * surface->w;
- const int mask = (Map::BLOCKMASK_WALL | Map::BLOCKMASK_AIR
- | Map::BLOCKMASK_WATER);
+ const int mask = (BlockMask::WALL | BlockMask::AIR
+ | BlockMask::WATER);
for (int ptr = 0; ptr < size; ptr ++)
*(data ++) = -!(map->mMetaTiles[ptr].blockmask & mask);