diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-07 18:23:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-07 18:23:39 +0300 |
commit | b1753d59caa299c668b9c269e87f96c46e0ab33a (patch) | |
tree | d333a7de5b6e9ddde85540d5b5a87eabd747fac1 /src/being/localplayer.cpp | |
parent | 1740b281aa32ba2c30a2a6203f7748af6a21fd39 (diff) | |
download | manaverse-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.cpp | 5 |
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() |