1
0
Fork 0

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

release/1.0
yexo 2010-01-04 22:26:25 +00:00
parent 92c75f9092
commit 6dcfa9a063
1 changed files with 2 additions and 1 deletions

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