most tests passing

This commit is contained in:
Emil Tin
2014-08-11 08:30:04 +02:00
committed by Emil Tin
parent 6fd615b9cd
commit 6d6d299ea4
7 changed files with 32 additions and 14 deletions
-9
View File
@@ -723,15 +723,6 @@ TurnInstruction EdgeBasedGraphFactory::AnalyzeTurn(const NodeID node_u,
const EdgeData &data1 = m_node_based_graph->GetEdgeData(edge1);
const EdgeData &data2 = m_node_based_graph->GetEdgeData(edge2);
if (!data1.travel_mode && data2.travel_mode)
{
return TurnInstruction::EnterAgainstAllowedDirection;
}
if (data1.travel_mode && !data2.travel_mode)
{
return TurnInstruction::LeaveAgainstAllowedDirection;
}
// roundabouts need to be handled explicitely
if (data1.roundabout && data2.roundabout)
{