diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-11 17:00:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-11 17:00:44 +0300 |
commit | 10cf17f8d83d2d925641f722acc004828dba3094 (patch) | |
tree | 46a746d5bfe79e067cd25a3caca476ecbafa0af5 /src/gui | |
parent | 77bb74bd2d944be1a1dc719027dbf37ad088b828 (diff) | |
download | plus-10cf17f8d83d2d925641f722acc004828dba3094.tar.gz plus-10cf17f8d83d2d925641f722acc004828dba3094.tar.bz2 plus-10cf17f8d83d2d925641f722acc004828dba3094.tar.xz plus-10cf17f8d83d2d925641f722acc004828dba3094.zip |
Move blockmask into separate file.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/minimap.cpp | 4 |
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); |