diff options
author | rubidium <rubidium@openttd.org> | 2011-11-04 10:31:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-11-04 10:31:46 +0000 |
commit | 798f5a860876ac3f61e6ecc989e3086caac480bd (patch) | |
tree | 0681790969f7719b7b9731f871f483f51618237b /src/clear_cmd.cpp | |
parent | a8c4efcff49b3377b9bdd748b33dbad2094f9eaa (diff) | |
download | openttd-798f5a860876ac3f61e6ecc989e3086caac480bd.tar.xz |
(svn r23102) -Codechange: remove the remaining pointless multiplications by TILE_HEIGHT
Diffstat (limited to 'src/clear_cmd.cpp')
-rw-r--r-- | src/clear_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clear_cmd.cpp b/src/clear_cmd.cpp index 5f0b32aed..c173d196e 100644 --- a/src/clear_cmd.cpp +++ b/src/clear_cmd.cpp @@ -231,7 +231,7 @@ static void TileLoop_Clear(TileIndex tile) /* If the tile is at any edge flood it to prevent maps without water. */ if (_settings_game.construction.freeform_edges && DistanceFromEdge(tile) == 1) { uint z; - Slope slope = GetTilePixelSlope(tile, &z); + Slope slope = GetTileSlope(tile, &z); if (z == 0 && slope == SLOPE_FLAT) { DoFloodTile(tile); MarkTileDirtyByTile(tile); |