# HG changeset patch # User Darkvater # Date 1116152622 0 # Node ID f41543d443b0915f15e4da408743747443701bd0 # Parent 26b041a529e96132fb1702fa4a4d503c0c802ff5 (svn r2317) - Fix: [ 1193048 ] Pre-signal stays red when there is only a single exit signal (dinno) diff -r 26b041a529e9 -r f41543d443b0 rail_cmd.c --- a/rail_cmd.c Sat May 14 23:48:39 2005 +0000 +++ b/rail_cmd.c Sun May 15 10:23:42 2005 +0000 @@ -1709,15 +1709,14 @@ 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??? } }