(svn r15585) -Codechange: Remove TILE_ASSERT and replace all instances with assert(tile < MapSize()).

This commit is contained in:
yexo
2009-02-25 21:50:54 +00:00
parent fb7b0536e7
commit a0c4f1156a
4 changed files with 7 additions and 12 deletions

View File

@@ -18,11 +18,6 @@ extern uint _map_tile_mask;
*/
#define TILE_MASK(x) ((x) & _map_tile_mask)
/**
* Asserts when the tile is outside of the map.
* @param x the tile to check
*/
#define TILE_ASSERT(x) assert(TILE_MASK(x) == (x));
/**
* Pointer to the tile-array.