From 61350cc4f65d53dd3add0c15558f6017b18ddbea Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 21 May 2011 03:07:34 +0300 Subject: Add monster walktype attribute to detect on what collisions monster can move. --- src/map.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/map.h') diff --git a/src/map.h b/src/map.h index be880f2e7..0a684140e 100644 --- a/src/map.h +++ b/src/map.h @@ -212,6 +212,7 @@ class Map : public Properties, public ConfigListener BLOCKTYPE_MONSTER, BLOCKTYPE_AIR, BLOCKTYPE_WATER, + BLOCKTYPE_GROUND, NB_BLOCKTYPES }; @@ -230,7 +231,8 @@ class Map : public Properties, public ConfigListener BLOCKMASK_CHARACTER = 0x01, // 0000 0001 BLOCKMASK_MONSTER = 0x02, // 0000 0010 BLOCKMASK_AIR = 0x04, // 0000 0100 - BLOCKMASK_WATER = 0x08 // 0000 1000 + BLOCKMASK_WATER = 0x08, // 0000 1000 + BLOCKMASK_GROUND = 0x16 // 0001 0000 }; enum DebugType -- cgit v1.2.3-60-g2f50