diff options
author | yexo <yexo@openttd.org> | 2009-02-25 21:50:54 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-02-25 21:50:54 +0000 |
commit | a0c4f1156aa5fcd503d976c102db89b5a683b81a (patch) | |
tree | bfb79ccd128fd6dc82c35c17f2dc26c87fd8939e /src/map_func.h | |
parent | fb7b0536e74d0cfdc682593657dfb66700f724e9 (diff) | |
download | openttd-a0c4f1156aa5fcd503d976c102db89b5a683b81a.tar.xz |
(svn r15585) -Codechange: Remove TILE_ASSERT and replace all instances with assert(tile < MapSize()).
Diffstat (limited to 'src/map_func.h')
-rw-r--r-- | src/map_func.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/map_func.h b/src/map_func.h index 2a971d1d6..a3781204b 100644 --- a/src/map_func.h +++ b/src/map_func.h @@ -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. |