From 1be0d9926ea9b865e6556d3dc9ea79227788f364 Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 9 May 2006 09:56:09 +0000 Subject: (svn r4790) Remove slope magic from EnsureNoVehicleZ() and rename it to EnsureNoVehicleOnGround() to make more clear what it does --- tile.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'tile.h') diff --git a/tile.h b/tile.h index ebb1bb89a..f4c098cf1 100644 --- a/tile.h +++ b/tile.h @@ -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()); -- cgit v1.2.3-54-g00ecf