diff options
author | tron <tron@openttd.org> | 2005-02-22 12:48:03 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-02-22 12:48:03 +0000 |
commit | 51eef8c5b7b54a64802fc3b833898f0fd75b6a51 (patch) | |
tree | b51c88c837ee8419763f34a5fbfd2ff8969ecaa3 /train_cmd.c | |
parent | f22eab55442cc77096ec1cd713c358c0208f2c62 (diff) | |
download | openttd-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.c | 2 |
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 } |