1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-24 06:59:10 +00:00

(svn r18728) -Fix: don't mark all tiles dirty in the artic tileloop

This commit is contained in:
yexo
2010-01-04 22:26:25 +00:00
parent 92c75f9092
commit 6dcfa9a063

View File

@@ -177,7 +177,8 @@ static void TileLoopClearAlps(TileIndex tile)
AddClearDensity(tile, -1); AddClearDensity(tile, -1);
} else { } else {
/* Density at the required level. */ /* Density at the required level. */
if (k < 0) ClearSnow(tile); if (k >= 0) return;
ClearSnow(tile);
} }
MarkTileDirtyByTile(tile); MarkTileDirtyByTile(tile);
} }