From 872cefeb27a572135da6e15e78d80bb215c275c3 Mon Sep 17 00:00:00 2001 From: smatz Date: Fri, 8 Aug 2008 14:58:27 +0000 Subject: [PATCH] (svn r14023) -Fix (r13944) [YAPP]: If YAPF encountered a dead-end that had a signal on it, is could be falsely seen as a valid destination. (michi_cc) --- src/yapf/yapf_costrail.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yapf/yapf_costrail.hpp b/src/yapf/yapf_costrail.hpp index 18d3662975..ebfa9a6a71 100644 --- a/src/yapf/yapf_costrail.hpp +++ b/src/yapf/yapf_costrail.hpp @@ -438,7 +438,7 @@ no_entry_cost: // jump here at the beginning if the node has no parent (it is th } if (TrackFollower::MaskReservedTracks() && tf_local.m_err != TrackFollower::EC_90DEG) { - end_segment_reason |= ESRB_SAFE_TILE; + if (!HasOnewaySignalBlockingTrackdir(cur.tile, cur.td)) end_segment_reason |= ESRB_SAFE_TILE; } break; }