diff options
author | tron <tron@openttd.org> | 2005-01-16 11:24:58 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-16 11:24:58 +0000 |
commit | 61a6bc544d9e656feb4458b6f9a86f7b7e01e7d6 (patch) | |
tree | bc9e7bccf2119556badf2efe43aca901dfc0a76e /main_gui.c | |
parent | 0c587b1a6098ba546d6e05930ba54b05ec930dd4 (diff) | |
download | openttd-61a6bc544d9e656feb4458b6f9a86f7b7e01e7d6.tar.xz |
(svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn them into inline functions and add some asserts
Diffstat (limited to 'main_gui.c')
-rw-r--r-- | main_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c index fd62ab537..5922c4557 100644 --- a/main_gui.c +++ b/main_gui.c @@ -1193,7 +1193,7 @@ static void PlaceProc_LowerBigLand(uint tile) static void PlaceProc_RockyArea(uint tile) { - if (!IS_TILETYPE(tile, MP_CLEAR) && !IS_TILETYPE(tile, MP_TREES)) + if (!IsTileType(tile, MP_CLEAR) && !IsTileType(tile, MP_TREES)) return; ModifyTile(tile, MP_SETTYPE(MP_CLEAR) | MP_MAP5, (_map5[tile] & ~0x1C) | 0xB); |