summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2005-05-15 10:23:42 +0000
committerDarkvater <Darkvater@openttd.org>2005-05-15 10:23:42 +0000
commit037ef4cd31f26b0f7b793adcbfb6fd6e72f1a6c2 (patch)
treeea7f27cb5529275cae6258a7c33bb218d1817bef
parentd1b068355c77ae3c81e7d3131c3913242db3b0fd (diff)
downloadopenttd-037ef4cd31f26b0f7b793adcbfb6fd6e72f1a6c2.tar.xz
(svn r2317) - Fix: [ 1193048 ] Pre-signal stays red when there is only a single exit signal (dinno)
-rw-r--r--rail_cmd.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/rail_cmd.c b/rail_cmd.c
index d88590c9e..2cbc7e148 100644
--- a/rail_cmd.c
+++ b/rail_cmd.c
@@ -1709,15 +1709,14 @@ make_red:
continue;
}
- // Update signals on the other side of this exit signal, it changed.
- // If this segment has presignals, then we treat exit signals going into the segment as normal signals.
- if (_map3_hi[tile]&2 && (_map3_hi[tile]&1 || !ssd->has_presignal)) {
+ /* Update signals on the other side of this exit-combo signal; it changed. */
+ if (_map3_hi[tile] & 2 ) {
if (ssd->cur_stack != NUM_SSD_STACK) {
ssd->next_tile[ssd->cur_stack] = tile;
ssd->next_dir[ssd->cur_stack] = _dir_from_track[ssd->bit[i]];
ssd->cur_stack++;
} else {
- printf("NUM_SSD_STACK too small\n");
+ printf("NUM_SSD_STACK too small\n"); /// @todo WTF is this???
}
}