1
0
Fork 0

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

release/1.1
frosch 2010-07-26 17:37:50 +00:00
parent 4203e641f8
commit 3767ae5196
1 changed files with 1 additions and 3 deletions

View File

@ -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);