summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxenos1984 <mhohmann@physnet.uni-hamburg.de>2015-08-15 21:55:53 +0300
committerxenos1984 <mhohmann@physnet.uni-hamburg.de>2015-08-15 21:55:53 +0300
commit4615c85b656342e4e7376d5de3ad2bf3571320dc (patch)
treefde04d0b78703f56d9456f95e708dc4f84c26fc2
parentd068e328245dd1997ce1a108027e319f2e8f5fed (diff)
downloadnavit-4615c85b656342e4e7376d5de3ad2bf3571320dc.tar.gz
Don't check on which side an exit is located (it should follow the roundabout direction anyway).
-rw-r--r--navit/navigation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/navigation.c b/navit/navigation.c
index f2ddfba73..edae86e25 100644
--- a/navit/navigation.c
+++ b/navit/navigation.c
@@ -3332,8 +3332,8 @@ show_maneuver(struct navigation *nav, struct navigation_itm *itm, struct navigat
while (candidate_way)
{
if (candidate_way && is_way_allowed(nav,candidate_way,3)
- && (angle_delta(cur->angle_end,candidate_way->angle2) > 0) && ( angle_delta(candidate_way->angle2,cur->next->way.angle2) < 0 ))
- /*for the entry node only count exits to the right ?*/
+ /*&& (angle_delta(cur->angle_end,candidate_way->angle2) > 0) && ( angle_delta(candidate_way->angle2,cur->next->way.angle2) < 0 )*/)
+ /*for right-hand traffic, exits should be to the right anyway to allow smooth turns, so leave this out until we find a counterexample :)*/
{
count_roundabout++;
/* As soon as we have an allowed one on this node,