diff options
Diffstat (limited to 'routing/index_graph_starter.cpp')
-rw-r--r-- | routing/index_graph_starter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/routing/index_graph_starter.cpp b/routing/index_graph_starter.cpp index 8fa511e2dd..064d96bb5b 100644 --- a/routing/index_graph_starter.cpp +++ b/routing/index_graph_starter.cpp @@ -22,8 +22,7 @@ m2::PointD const & IndexGraphStarter::GetPoint(Segment const & segment, bool fro if (segment == kFinishFakeSegment || (front && m_finish.Fits(segment))) return m_finish.GetPoint(); - return m_graph.GetRoadGeometry(segment.GetMwmId(), segment.GetFeatureId()) - .GetPoint(segment.GetPointId(front)); + return m_graph.GetPoint(segment, front); } // static |