Skip to content

Commit

Permalink
addendum refs #14554
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Mar 24, 2024
1 parent 8614ccb commit 937fcd3
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/microsim/traffic_lights/MSRailSignal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1343,15 +1343,13 @@ MSRailSignal::DriveWay::buildRoute(MSLink* origin, double length,
if (next != end) {
// no connection found, jump to next route edge
toLane = (*next)->getLanes()[0];
if (toLane->getEdge().getBidiEdge() == current) {
#ifdef DEBUG_DRIVEWAY_BUILDROUTE
if (gDebugFlag4) {
std::cout << " abort: turn-around\n";
}
#endif
myFoundReversal = true;
return;
if (gDebugFlag4) {
std::cout << " abort: turn-around or jump\n";
}
#endif
myFoundReversal = true;
return;
} else {
#ifdef DEBUG_DRIVEWAY_BUILDROUTE
if (gDebugFlag4) {
Expand Down

0 comments on commit 937fcd3

Please sign in to comment.