From b1753d59caa299c668b9c269e87f96c46e0ab33a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Aug 2016 18:23:39 +0300 Subject: Add player wall collision type (5). --- src/being/localplayer.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/being') 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() -- cgit v1.2.3-70-g09d2