Added assert for guides version

This commit is contained in:
Alex Zolotarev 2013-10-28 12:42:47 +03:00 committed by Alex Zolotarev
parent 370afcc675
commit f219dfe8f9

View file

@ -108,6 +108,7 @@ bool GuidesManager::RestoreFromFile()
{
}
ASSERT_GREATER(resourcesVersion, 0, ());
if (downloadedVersion > resourcesVersion)
{
m_version = downloadedVersion;