Mercurial > hg > openttd
changeset 15564:f7aff7a47e11 draft
(svn r20224) -Fix [FS#3976]: Depot did not become unsnowy, when snowline rises.
author | frosch <frosch@openttd.org> |
---|---|
date | Mon, 26 Jul 2010 17:37:50 +0000 |
parents | 011c8bee59d1 |
children | 668182602398 |
files | src/rail_cmd.cpp |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -2407,11 +2407,9 @@ 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);