summaryrefslogtreecommitdiff
path: root/src/being/localplayer.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/being/localplayer.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/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index af020d7ea..647aba41b 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -2645,7 +2645,10 @@ void LocalPlayer::checkNewName(Being *const being)
unsigned char LocalPlayer::getBlockWalkMask() const
{
// for now blocking all types of collisions
- return BlockMask::WALL | BlockMask::AIR | BlockMask::WATER;
+ return BlockMask::WALL |
+ BlockMask::AIR |
+ BlockMask::WATER |
+ BlockMask::PLAYERWALL;
}
void LocalPlayer::removeHome()