diff options
author | rubidium <rubidium@openttd.org> | 2011-11-29 21:09:58 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-11-29 21:09:58 +0000 |
commit | 06fe032a7bb2590e77465bb840aeb9c7ce4f3623 (patch) | |
tree | c22bf9508c2b861ec0deae20511e6dcb95e1f4cb | |
parent | cdb574b9d1360e8aaf7556d33c745706bce8f358 (diff) | |
download | openttd-06fe032a7bb2590e77465bb840aeb9c7ce4f3623.tar.xz |
(svn r23348) -Fix [FS#4679]: make signal removal behaviour work the same regardless of autofill, i.e. always removal all signals instead those at the signal interval
-rw-r--r-- | src/rail_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index 412cd5023..f749ad94a 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -1221,7 +1221,7 @@ static CommandCost CmdSignalTrackHelper(TileIndex tile, DoCommandFlag flags, uin bool had_success = false; for (;;) { /* only build/remove signals with the specified density */ - if ((remove && autofill) || signal_ctr % signal_density == 0) { + if (remove || signal_ctr % signal_density == 0) { uint32 p1 = GB(TrackdirToTrack(trackdir), 0, 3); SB(p1, 3, 1, mode); SB(p1, 4, 1, semaphores); |