summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/windows/minimap.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp
index 797427c50..2d7b8ba65 100644
--- a/src/gui/windows/minimap.cpp
+++ b/src/gui/windows/minimap.cpp
@@ -155,7 +155,10 @@ void Minimap::setMap(const Map *const map)
| BlockMask::WATER);
for (int ptr = 0; ptr < size; ptr ++)
- *(data ++) = -!(map->mMetaTiles[ptr].blockmask & mask);
+ {
+ *(data ++) = (map->mMetaTiles[ptr].blockmask & mask) ?
+ 0x0 : 0x00ffffff;
+ }
SDL_UnlockSurface(surface);