summaryrefslogtreecommitdiff
path: root/train_cmd.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
commita370af76d296100c6b00563929d16b50e612d103 (patch)
treeb51c88c837ee8419763f34a5fbfd2ff8969ecaa3 /train_cmd.c
parent76b016dd58ec4104ff1e6f65582d80297f431b42 (diff)
downloadopenttd-a370af76d296100c6b00563929d16b50e612d103.tar.xz
(svn r1898) Remove some unused macros from macros.h and move some others to more appropriate headers
Diffstat (limited to 'train_cmd.c')
-rw-r--r--train_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/train_cmd.c b/train_cmd.c
index d59fd30e9..d90594377 100644
--- a/train_cmd.c
+++ b/train_cmd.c
@@ -2189,7 +2189,7 @@ static bool CheckCompatibleRail(const Vehicle *v, TileIndex tile)
uint tileh = GetTileSlope(tile, &height);
// correct Z position of a train going under a bridge on slopes
- if (CORRECT_Z(tileh)) height += 8;
+ if (CorrectZ(tileh)) height += 8;
if (v->z_pos != height) return true; // train is going over bridge
}