diff options
author | yexo <yexo@openttd.org> | 2010-01-04 22:26:25 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-01-04 22:26:25 +0000 |
commit | 6dcfa9a06338057e8f9422f84b49a758b2e49ed6 (patch) | |
tree | 6dabd8945fd86cc4e9ad74ae4b987e2a5868aed1 | |
parent | 92c75f90929a5c6ffa5fab05dc34bb40aad04160 (diff) | |
download | openttd-6dcfa9a06338057e8f9422f84b49a758b2e49ed6.tar.xz |
(svn r18728) -Fix: don't mark all tiles dirty in the artic tileloop
-rw-r--r-- | src/clear_cmd.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clear_cmd.cpp b/src/clear_cmd.cpp index 2e157ffcf..461cf4368 100644 --- a/src/clear_cmd.cpp +++ b/src/clear_cmd.cpp @@ -177,7 +177,8 @@ static void TileLoopClearAlps(TileIndex tile) AddClearDensity(tile, -1); } else { /* Density at the required level. */ - if (k < 0) ClearSnow(tile); + if (k >= 0) return; + ClearSnow(tile); } MarkTileDirtyByTile(tile); } |