1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-21 21:49:10 +00:00

(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

@@ -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);