mirror of https://github.com/OpenTTD/OpenTTD
(svn r20224) -Fix [FS#3976]: Depot did not become unsnowy, when snowline rises.
parent
4203e641f8
commit
3767ae5196
|
@ -2407,11 +2407,9 @@ static void TileLoop_Track(TileIndex tile)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!IsPlainRail(tile)) return;
|
|
||||||
|
|
||||||
new_ground = RAIL_GROUND_GRASS;
|
new_ground = RAIL_GROUND_GRASS;
|
||||||
|
|
||||||
if (old_ground != RAIL_GROUND_BARREN) { // wait until bottom is green
|
if (IsPlainRail(tile) && old_ground != RAIL_GROUND_BARREN) { // wait until bottom is green
|
||||||
/* determine direction of fence */
|
/* determine direction of fence */
|
||||||
TrackBits rail = GetTrackBits(tile);
|
TrackBits rail = GetTrackBits(tile);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue