summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index bcc78dd1b..0dea8ddac 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -3835,6 +3835,12 @@ void LocalPlayer::resetYellowBar()
miniStatusWindow->updateStatus();
}
+unsigned char LocalPlayer::getWalkMask() const
+{
+ // for now blocking all types of collisions
+ return Map::BLOCKMASK_WALL | Map::BLOCKMASK_AIR | Map::BLOCKMASK_WATER;
+}
+
void AwayListener::action(const gcn::ActionEvent &event)
{
if (event.getId() == "ok" && player_node && player_node->getAwayMode())