summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-06-08 22:31:07 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-06-08 22:31:25 +0200
commit2b2b02df79649beed9a49e37f21db996f053d4ca (patch)
tree248dc30bdcc65caa54de0c259b676986bbfcb123 /src/player.h
parent25875637a2b0b1561e2cf69b94674ee74d8031a3 (diff)
downloadmana-2b2b02df79649beed9a49e37f21db996f053d4ca.tar.gz
mana-2b2b02df79649beed9a49e37f21db996f053d4ca.tar.bz2
mana-2b2b02df79649beed9a49e37f21db996f053d4ca.tar.xz
mana-2b2b02df79649beed9a49e37f21db996f053d4ca.zip
Attempt to clear some of the block/walkmask confusion
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.h b/src/player.h
index bb44f462..9a5c6c94 100644
--- a/src/player.h
+++ b/src/player.h
@@ -132,7 +132,7 @@ class Player : public Being
* Gets the way the character is blocked by other objects.
*/
virtual unsigned char getWalkMask() const
- { return 0x82; } // blocked by walls and monsters (bin 1000 0010)
+ { return Map::BLOCKMASK_WALL | Map::BLOCKMASK_MONSTER; }
/**
* Called when a option (set with config.addListener()) is changed