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
commit894d61ca470f27b3e6a55dda73c6bd78fbf25091 (patch)
treebfb79ccd128fd6dc82c35c17f2dc26c87fd8939e /src/map_func.h
parentb8601d903d5911c12a67fb60b76902ba165c2d04 (diff)
downloadopenttd-894d61ca470f27b3e6a55dda73c6bd78fbf25091.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.