diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2008-03-13 07:57:32 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-03-13 07:57:32 +0000 |
commit | d2eff88e164b090faf937b0bedec482bdec1c621 (patch) | |
tree | 4d8ea9c19877ed260661335173a2b1640de6032c /src/map.h | |
parent | fe474eb4fae9d89e3797d0ceaae6613798ce491f (diff) | |
download | mana-d2eff88e164b090faf937b0bedec482bdec1c621.tar.gz mana-d2eff88e164b090faf937b0bedec482bdec1c621.tar.bz2 mana-d2eff88e164b090faf937b0bedec482bdec1c621.tar.xz mana-d2eff88e164b090faf937b0bedec482bdec1c621.zip |
defined block bitmasks in hex instead of decimal like it is done for the walk bitmasks.
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -230,9 +230,9 @@ class Map : public Properties /** * Blockmasks for different entities */ - static const unsigned char BLOCKMASK_WALL = 128; // = bin 1000 0000 - static const unsigned char BLOCKMASK_CHARACTER = 1;// = bin 0000 0001 - static const unsigned char BLOCKMASK_MONSTER = 2; // = bin 0000 0010 + static const unsigned char BLOCKMASK_WALL = 0x80; // = bin 1000 0000 + static const unsigned char BLOCKMASK_CHARACTER = 0x01;// = bin 0000 0001 + static const unsigned char BLOCKMASK_MONSTER = 0x02; // = bin 0000 0010 int *mOccupation[NB_BLOCKTYPES]; // Pathfinding members |