From f531bb006d3eec68b56dc4acefc580a6b9d09138 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Thu, 13 Mar 2008 07:56:59 +0000 Subject: defined block bitmasks in hex instead of decimal like it is done for the walk bitmasks. --- src/game-server/map.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game-server') diff --git a/src/game-server/map.hpp b/src/game-server/map.hpp index a5acca2a..f4e24cd8 100644 --- a/src/game-server/map.hpp +++ b/src/game-server/map.hpp @@ -173,9 +173,9 @@ class Map /** * 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]; int mWidth, mHeight; int tileWidth, tileHeight; -- cgit v1.2.3-60-g2f50