Changeset - r14170:704596a82e3f
[Not reviewed]
master
0 1 0
yexo - 14 years ago 2010-01-04 22:26:25
yexo@openttd.org
(svn r18728) -Fix: don't mark all tiles dirty in the artic tileloop
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/clear_cmd.cpp
Show inline comments
 
@@ -177,7 +177,8 @@ static void TileLoopClearAlps(TileIndex 
 
		AddClearDensity(tile, -1);
 
	} else {
 
		/* Density at the required level. */
 
		if (k < 0) ClearSnow(tile);
 
		if (k >= 0) return;
 
		ClearSnow(tile);
 
	}
 
	MarkTileDirtyByTile(tile);
 
}
0 comments (0 inline, 0 general)