forked from organicmaps/organicmaps
Fix routing crash.
This commit is contained in:
parent
72763af6c5
commit
eb37751d5c
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ void CrossMwmGraph::GetOutgoingEdgesList(BorderCross const & v,
|
|||
// For last map we need to load virtual shortcuts and real cross roads. It takes to account case
|
||||
// when we have a path from the mwmw border to the point inside the map throuh another map.
|
||||
// See Ust-Katav test for more.
|
||||
if (!it->second.front().GetTarget().toNode.isVirtual)
|
||||
if (it->second.empty() || !it->second.front().GetTarget().toNode.isVirtual)
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue