diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-08-03 16:22:13 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:58:52 +0300 |
commit | 97cfc302448d85b23726df787a4c523c26d20414 (patch) | |
tree | 3ac86f2489a8ee66833bb533a800dbb6dc795863 /map/framework.cpp | |
parent | dc53fa63fb4c3451b238155c104dacebfe2e6577 (diff) |
Android UI integration.
Diffstat (limited to 'map/framework.cpp')
-rw-r--r-- | map/framework.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/map/framework.cpp b/map/framework.cpp index bf580c10a3..162dc4ebc7 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -2114,7 +2114,7 @@ void Framework::BuildRoute(m2::PointD const & destination, uint32_t timeoutSec) for (string const & name : route.GetAbsentCountries()) { storage::TIndex fileIndex = m_storage.FindIndexByFile(name); - if (m_storage.GetLatestLocalFile(fileIndex)) + if (m_storage.GetLatestLocalFile(fileIndex) && code != IRouter::FileTooOld) absentRoutingIndexes.push_back(fileIndex); else absentCountries.push_back(fileIndex); |