summaryrefslogtreecommitdiff
path: root/src/gui/windows/minimap.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-11 17:00:44 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-11 17:00:44 +0300
commit10cf17f8d83d2d925641f722acc004828dba3094 (patch)
tree46a746d5bfe79e067cd25a3caca476ecbafa0af5 /src/gui/windows/minimap.cpp
parent77bb74bd2d944be1a1dc719027dbf37ad088b828 (diff)
downloadmv-10cf17f8d83d2d925641f722acc004828dba3094.tar.gz
mv-10cf17f8d83d2d925641f722acc004828dba3094.tar.bz2
mv-10cf17f8d83d2d925641f722acc004828dba3094.tar.xz
mv-10cf17f8d83d2d925641f722acc004828dba3094.zip
Move blockmask into separate file.
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);