forked from mirror/OpenTTD
(svn r1898) Remove some unused macros from macros.h and move some others to more appropriate headers
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user