summaryrefslogtreecommitdiff
path: root/clear_map.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-04-11 22:09:21 +0000
committerbelugas <belugas@openttd.org>2006-04-11 22:09:21 +0000
commit6f708b2efec037856284158bbc4cb21430c4365d (patch)
tree7bf61dc6a05532ce769d2f3e51eec2fa984ac38a /clear_map.h
parent7d837329dbf86d890ddd25bb2fc0cd708b6c9e66 (diff)
downloadopenttd-6f708b2efec037856284158bbc4cb21430c4365d.tar.xz
(svn r4367) CodeChange : Remove another direct map access in station_cmd.c. Replace an array of TileIndexDiffC by a use of loop with TileDiffXY. Thanks to Rubidium
Diffstat (limited to 'clear_map.h')
-rw-r--r--clear_map.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/clear_map.h b/clear_map.h
index 5769443a1..bfb9a3e98 100644
--- a/clear_map.h
+++ b/clear_map.h
@@ -19,6 +19,10 @@ typedef enum ClearGround {
} ClearGround;
+
+
+
+
static inline ClearGround GetClearGround(TileIndex t)
{
assert(IsTileType(t, MP_CLEAR));