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
commit51eef8c5b7b54a64802fc3b833898f0fd75b6a51 (patch)
treeb51c88c837ee8419763f34a5fbfd2ff8969ecaa3 /train_cmd.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 '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
}