diff options
author | Mikhail Gorbushin <m.gorbushin@corp.mail.ru> | 2019-09-10 19:19:07 +0300 |
---|---|---|
committer | Vladimir Byko-Ianko <bykoianko@gmail.com> | 2019-09-19 15:10:26 +0300 |
commit | 8618d7c3046505b211f5fc3505dc65710a30d422 (patch) | |
tree | 68d703a6e43efcdccc5e7353420db47e59aaf8ea /routing/index_router.cpp | |
parent | 9780646f7ca6606711233e88ba2cf68ff7f90e5e (diff) |
[generator] Review fixes
Diffstat (limited to 'routing/index_router.cpp')
-rw-r--r-- | routing/index_router.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routing/index_router.cpp b/routing/index_router.cpp index d690df972e..370dd7794a 100644 --- a/routing/index_router.cpp +++ b/routing/index_router.cpp @@ -557,7 +557,7 @@ RouterResultCode IndexRouter::CalculateSubroute(Checkpoints const & checkpoints, starter.GetGraph().SetMode(WorldGraphMode::Joints); break; case VehicleType::Transit: - starter.GetGraph().SetMode(WorldGraphMode::Joints); + starter.GetGraph().SetMode(WorldGraphMode::NoLeaps); break; case VehicleType::Car: starter.GetGraph().SetMode(AreMwmsNear(starter) ? WorldGraphMode::Joints |