summaryrefslogtreecommitdiff
path: root/src/road.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-04 10:23:48 +0000
committerrubidium <rubidium@openttd.org>2011-11-04 10:23:48 +0000
commitecbc56a67711bfc37d751f9c3bff2a464ea03564 (patch)
tree59bf90cf6155c7940d6c56735a2cfd491e300bd3 /src/road.cpp
parent2ed0f93bfbd27ba4b4dc3e590556ffae6d9b9338 (diff)
downloadopenttd-ecbc56a67711bfc37d751f9c3bff2a464ea03564.tar.xz
(svn r23094) -Codechange: add a default NULL to GetFoundationSlope and use it
Diffstat (limited to 'src/road.cpp')
-rw-r--r--src/road.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/road.cpp b/src/road.cpp
index 73c87deb5..3b175d109 100644
--- a/src/road.cpp
+++ b/src/road.cpp
@@ -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);
}
/**