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
commit88440522fe7bec718a740eebf58fd1352c872f28 (patch)
tree7bf61dc6a05532ce769d2f3e51eec2fa984ac38a /clear_map.h
parent9ccb373edbd3c95940ecf4ea160f65a8981c836f (diff)
downloadopenttd-88440522fe7bec718a740eebf58fd1352c872f28.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));