Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-08-04 17:50:34 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:59:01 +0300
commita2a8235e4099240e9dc8f9a0e05befc543191ea1 (patch)
tree46cc76e20e20685ba0a13d2e559fc476b79f5aa8 /routing
parent3b0404fa5df6e927142f7bcd1321baded6ee8fe8 (diff)
Pedestrian routing progress 100% at start fix.
Diffstat (limited to 'routing')
-rw-r--r--routing/base/astar_algorithm.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/routing/base/astar_algorithm.hpp b/routing/base/astar_algorithm.hpp
index 10d58d44c3..85951b47bc 100644
--- a/routing/base/astar_algorithm.hpp
+++ b/routing/base/astar_algorithm.hpp
@@ -317,7 +317,7 @@ typename AStarAlgorithm<TGraph>::Result AStarAlgorithm<TGraph>::FindPathBidirect
continue;
if (steps % kVisitedVerticesPeriod == 0)
- onVisitedVertexCallback(stateV.vertex, cur->finalVertex);
+ onVisitedVertexCallback(stateV.vertex, cur->forward ? cur->finalVertex : cur->startVertex);
cur->GetAdjacencyList(stateV.vertex, adj);
for (auto const & edge : adj)