summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-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()