summaryrefslogtreecommitdiff
path: root/src/rail_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-04 10:31:46 +0000
committerrubidium <rubidium@openttd.org>2011-11-04 10:31:46 +0000
commit798f5a860876ac3f61e6ecc989e3086caac480bd (patch)
tree0681790969f7719b7b9731f871f483f51618237b /src/rail_cmd.cpp
parenta8c4efcff49b3377b9bdd748b33dbad2094f9eaa (diff)
downloadopenttd-798f5a860876ac3f61e6ecc989e3086caac480bd.tar.xz
(svn r23102) -Codechange: remove the remaining pointless multiplications by TILE_HEIGHT
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r--src/rail_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp
index b33c6829d..e799b95c9 100644
--- a/src/rail_cmd.cpp
+++ b/src/rail_cmd.cpp
@@ -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);