diff options
author | tron <tron@openttd.org> | 2006-05-09 09:56:09 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-05-09 09:56:09 +0000 |
commit | c9defc0fea20dc900c0c6d3f8aac8984b024052f (patch) | |
tree | 559b2b4b3e046cf2cb59f9c2eacbb8ea4f57cbb5 /tile.h | |
parent | e5bd292dabdf5bbf58e5ce83c13688bbe047a62a (diff) | |
download | openttd-c9defc0fea20dc900c0c6d3f8aac8984b024052f.tar.xz |
(svn r4790) Remove slope magic from EnsureNoVehicleZ() and rename it to EnsureNoVehicleOnGround() to make more clear what it does
Diffstat (limited to 'tile.h')
-rw-r--r-- | tile.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -32,13 +32,6 @@ Slope GetTileSlope(TileIndex tile, uint *h); uint GetTileZ(TileIndex tile); uint GetTileMaxZ(TileIndex tile); -static inline bool CorrectZ(Slope tileh) -{ - /* tile height must be corrected if the north corner is not raised, but - * any other corner is. These are the cases 1 till 7 */ - return IS_INT_INSIDE(tileh, 1, 8); -} - static inline uint TileHeight(TileIndex tile) { assert(tile < MapSize()); |