summaryrefslogtreecommitdiff
path: root/src/map_func.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-02-25 21:50:54 +0000
committeryexo <yexo@openttd.org>2009-02-25 21:50:54 +0000
commita0c4f1156aa5fcd503d976c102db89b5a683b81a (patch)
treebfb79ccd128fd6dc82c35c17f2dc26c87fd8939e /src/map_func.h
parentfb7b0536e74d0cfdc682593657dfb66700f724e9 (diff)
downloadopenttd-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.h5
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.