diff options
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 } |