diff options
author | frosch <frosch@openttd.org> | 2010-12-01 21:35:18 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-12-01 21:35:18 +0000 |
commit | 6d962a3e357598bacb984ec8e7fbc0277b2e4f53 (patch) | |
tree | d6e48071fccda0e8bb1bc21661a5bb5ca0567101 | |
parent | 2dcda5fa8f6b3d6f9553ee3a4b877d5006e6536c (diff) | |
download | openttd-6d962a3e357598bacb984ec8e7fbc0277b2e4f53.tar.xz |
(svn r21367) -Fix (r18719)[FS#4283]: Fields were not cleared under snow though they were intended to be.
-rw-r--r-- | src/clear_map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clear_map.h b/src/clear_map.h index 89a444f73..ed5409a94 100644 --- a/src/clear_map.h +++ b/src/clear_map.h @@ -316,7 +316,7 @@ static inline void MakeSnow(TileIndex t, uint density = 0) { assert(GetClearGround(t) != CLEAR_SNOW); SetBit(_m[t].m3, 4); - if (GetClearGround(t) == CLEAR_FIELDS) { + if (GetRawClearGround(t) == CLEAR_FIELDS) { SetClearGroundDensity(t, CLEAR_GRASS, density); } else { SetClearDensity(t, density); |