mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-27 16:39:09 +00:00
(svn r23094) -Codechange: add a default NULL to GetFoundationSlope and use it
This commit is contained in:
@@ -32,7 +32,7 @@ static bool IsPossibleCrossing(const TileIndex tile, Axis ax)
|
||||
return (IsTileType(tile, MP_RAILWAY) &&
|
||||
GetRailTileType(tile) == RAIL_TILE_NORMAL &&
|
||||
GetTrackBits(tile) == (ax == AXIS_X ? TRACK_BIT_Y : TRACK_BIT_X) &&
|
||||
GetFoundationPixelSlope(tile, NULL) == SLOPE_FLAT);
|
||||
GetFoundationSlope(tile) == SLOPE_FLAT);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user