equal
deleted
inserted
replaced
376 tf_local.Init(v, &Yapf().m_perf_ts_cost); |
376 tf_local.Init(v, &Yapf().m_perf_ts_cost); |
377 |
377 |
378 if (!tf_local.Follow(cur.tile, cur.td)) { |
378 if (!tf_local.Follow(cur.tile, cur.td)) { |
379 assert(tf_local.m_err != TrackFollower::EC_NONE); |
379 assert(tf_local.m_err != TrackFollower::EC_NONE); |
380 /* Can't move to the next tile (EOL?). */ |
380 /* Can't move to the next tile (EOL?). */ |
381 end_segment_reason |= ESRB_DEAD_END; |
381 if (tf_local.m_err == TrackFollower::EC_RAIL_TYPE) { |
|
382 end_segment_reason |= ESRB_RAIL_TYPE; |
|
383 } else { |
|
384 end_segment_reason |= ESRB_DEAD_END; |
|
385 } |
382 break; |
386 break; |
383 } |
387 } |
384 |
388 |
385 /* Check if the next tile is not a choice. */ |
389 /* Check if the next tile is not a choice. */ |
386 if (KillFirstBit2x64(tf_local.m_new_td_bits) != 0) { |
390 if (KillFirstBit2x64(tf_local.m_new_td_bits) != 0) { |