diff --git a/Contractor/EdgeBasedGraphFactory.cpp b/Contractor/EdgeBasedGraphFactory.cpp index aa7cfadf5..986f1702e 100644 --- a/Contractor/EdgeBasedGraphFactory.cpp +++ b/Contractor/EdgeBasedGraphFactory.cpp @@ -399,7 +399,7 @@ void EdgeBasedGraphFactory::Run( if( m_traffic_lights.find(v) != m_traffic_lights.end() ) { distance += speed_profile.trafficSignalPenalty; } - const int turn_penalty = 10*GetTurnPenalty(u, v, w, lua_state); + const int turn_penalty = GetTurnPenalty(u, v, w, lua_state); TurnInstruction turnInstruction = AnalyzeTurn(u, v, w); if(turnInstruction == TurnInstructions.UTurn){ distance += speed_profile.uTurnPenalty;