diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-06-08 22:31:07 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-06-08 22:31:25 +0200 |
commit | 2b2b02df79649beed9a49e37f21db996f053d4ca (patch) | |
tree | 248dc30bdcc65caa54de0c259b676986bbfcb123 /src/monster.h | |
parent | 25875637a2b0b1561e2cf69b94674ee74d8031a3 (diff) | |
download | mana-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/monster.h')
-rw-r--r-- | src/monster.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/monster.h b/src/monster.h index bf52ed6d..7b44b5a8 100644 --- a/src/monster.h +++ b/src/monster.h @@ -82,7 +82,11 @@ class Monster : public Being * Gets the way the monster is blocked by other objects */ virtual unsigned char getWalkMask() const - { return 0x83; } // blocked by walls, other monsters and players ( bin 1000 0011) + { + return Map::BLOCKMASK_WALL + | Map::BLOCKMASK_CHARACTER + | Map::BLOCKMASK_MONSTER; + } protected: /** |