(svn r20224) -Fix [FS#3976]: Depot did not become unsnowy, when snowline rises.

pull/155/head
frosch 14 years ago
parent a50578c3ad
commit 422d9e3b77

@ -2407,11 +2407,9 @@ static void TileLoop_Track(TileIndex tile)
break;
}
if (!IsPlainRail(tile)) return;
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 */
TrackBits rail = GetTrackBits(tile);

Loading…
Cancel
Save