(svn r23102) -Codechange: remove the remaining pointless multiplications by TILE_HEIGHT

This commit is contained in:
rubidium
2011-11-04 10:31:46 +00:00
parent a8c4efcff4
commit 798f5a8608
7 changed files with 8 additions and 8 deletions

View File

@@ -676,7 +676,7 @@ bool FloodHalftile(TileIndex t)
}
} else {
/* Make shore on steep slopes and 'three-corners-raised'-slopes. */
if (ApplyPixelFoundationToSlope(GetRailFoundation(tileh, rail_bits), &tileh) == 0) {
if (ApplyFoundationToSlope(GetRailFoundation(tileh, rail_bits), &tileh) == 0) {
if (IsSteepSlope(tileh) || IsSlopeWithThreeCornersRaised(tileh)) {
flooded = true;
SetRailGroundType(t, RAIL_GROUND_WATER);