diff --git a/routing/bicycle_directions.cpp b/routing/bicycle_directions.cpp index 7df13d9808..0807b805ea 100644 --- a/routing/bicycle_directions.cpp +++ b/routing/bicycle_directions.cpp @@ -212,6 +212,9 @@ void BicycleDirectionsEngine::Generate(RoadGraphBase const & graph, vector m_nextFakeId; Type m_type; FeatureID m_featureId; // Not valid for OSRM. + // Note. In mwm case if UniNodeId represents two directional feature |m_endSegId| is greater + // than |m_startSegId| if |m_forward| == true. uint32_t m_startSegId = 0; // Not valid for OSRM. The first segment index of UniNodeId. - uint32_t m_endSegId = 0; // Not valid for OSRM. The segment index after last of UniNodeId. + uint32_t m_endSegId = 0; // Not valid for OSRM. The last segment index UniNodeId. bool m_forward = true; // Not valid for OSRM. Segment direction in |m_featureId|. // Node id for OSRM case. Fake feature id if UniNodeId is based on an invalid feature id valid for // mwm case. UniNodeId is based on an invalid feature id in case of fake edges near starts and