Skip to content

Commit

Permalink
Always announce a turn on mode change
Browse files Browse the repository at this point in the history
Fixes #1558
  • Loading branch information
TheMarex committed Aug 7, 2015
1 parent 3572ee3 commit c90d896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contractor/edge_based_graph_factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ TurnInstruction EdgeBasedGraphFactory::AnalyzeTurn(const NodeID node_u,

// If street names stay the same and if we are certain that it is not a
// a segment of a roundabout, we skip it.
if (data1.name_id == data2.name_id)
if (data1.name_id == data2.name_id && data1.travel_mode == data2.travel_mode)
{
// TODO: Here we should also do a small graph exploration to check for
// more complex situations
Expand Down

0 comments on commit c90d896

Please sign in to comment.