Merge pull request #185 from deathbaba/android

Fixed crash on Android in debug mode when World maps are absent (not downloaded yet).
This commit is contained in:
Alexander Marchuk 2015-10-12 11:28:53 +03:00
commit 6a0c801b43

View file

@ -195,7 +195,10 @@ void FindAllLocalMaps(vector<LocalCountryFile> & localFiles)
catch (RootException const & ex)
{
if (i == localFiles.end())
LOG(LERROR, ("Can't find any:", file, "Reason:", ex.Msg()));
{
// This warning is possible on android devices without pre-downloaded Worlds/fonts files.
LOG(LWARNING, ("Can't find any:", file, "Reason:", ex.Msg()));
}
}
}
}