summaryrefslogtreecommitdiff
path: root/vehicle.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-22 12:48:03 +0000
committertron <tron@openttd.org>2005-02-22 12:48:03 +0000
commit51eef8c5b7b54a64802fc3b833898f0fd75b6a51 (patch)
treeb51c88c837ee8419763f34a5fbfd2ff8969ecaa3 /vehicle.c
parentf22eab55442cc77096ec1cd713c358c0208f2c62 (diff)
downloadopenttd-51eef8c5b7b54a64802fc3b833898f0fd75b6a51.tar.xz
(svn r1898) Remove some unused macros from macros.h and move some others to more appropriate headers
Diffstat (limited to 'vehicle.c')
-rw-r--r--vehicle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle.c b/vehicle.c
index 2880310a5..1fdbd670c 100644
--- a/vehicle.c
+++ b/vehicle.c
@@ -98,7 +98,7 @@ static inline uint Correct_Z(uint tileh)
{
// needs z correction for slope-type graphics that have the NORTHERN tile lowered
// 1, 2, 3, 4, 5, 6 and 7
- return (CORRECT_Z(tileh)) ? 8 : 0;
+ return CorrectZ(tileh) ? 8 : 0;
}
uint GetCorrectTileHeight(TileIndex tile)