From 10cf17f8d83d2d925641f722acc004828dba3094 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 11 May 2014 17:00:44 +0300 Subject: Move blockmask into separate file. --- src/gui/windows/minimap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') 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); -- cgit v1.2.3-70-g09d2