summaryrefslogtreecommitdiff
path: root/src/gui/windows/minimap.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-07 18:23:39 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-07 18:23:39 +0300
commitb1753d59caa299c668b9c269e87f96c46e0ab33a (patch)
treed333a7de5b6e9ddde85540d5b5a87eabd747fac1 /src/gui/windows/minimap.cpp
parent1740b281aa32ba2c30a2a6203f7748af6a21fd39 (diff)
downloadmanaverse-b1753d59caa299c668b9c269e87f96c46e0ab33a.tar.gz
manaverse-b1753d59caa299c668b9c269e87f96c46e0ab33a.tar.bz2
manaverse-b1753d59caa299c668b9c269e87f96c46e0ab33a.tar.xz
manaverse-b1753d59caa299c668b9c269e87f96c46e0ab33a.zip
Add player wall collision type (5).
Diffstat (limited to 'src/gui/windows/minimap.cpp')
-rw-r--r--src/gui/windows/minimap.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp
index 8d1bab734..8c605058f 100644
--- a/src/gui/windows/minimap.cpp
+++ b/src/gui/windows/minimap.cpp
@@ -153,8 +153,10 @@ void Minimap::setMap(const Map *const map)
return;
}
const int size = surface->h * surface->w;
- const int mask = (BlockMask::WALL | BlockMask::AIR
- | BlockMask::WATER);
+ const int mask = (BlockMask::WALL |
+ BlockMask::AIR |
+ BlockMask::WATER |
+ BlockMask::PLAYERWALL);
for (int ptr = 0; ptr < size; ptr ++)
{