diff options
author | belugas <belugas@openttd.org> | 2006-04-11 22:09:21 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-04-11 22:09:21 +0000 |
commit | 88440522fe7bec718a740eebf58fd1352c872f28 (patch) | |
tree | 7bf61dc6a05532ce769d2f3e51eec2fa984ac38a /clear_map.h | |
parent | 9ccb373edbd3c95940ecf4ea160f65a8981c836f (diff) | |
download | openttd-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.h | 4 |
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)); |