Fix using local xml for hashes in Downloader::downloadFile

This commit is contained in:
Sude 2014-04-20 21:35:05 +03:00
parent c140156216
commit d591f08acd

View File

@ -878,7 +878,7 @@ CURLcode Downloader::downloadFile(const std::string& url, const std::string& fil
bool bSameVersion = true; // assume same version
bool bLocalXMLExists = boost::filesystem::exists(local_xml_file); // This is additional check to see if remote xml should be saved to speed up future version checks
std::string localHash = this->getLocalFileHash(filepath);
std::string localHash = this->getLocalFileHash(filepath, gamename);
if (!xml_data.empty())
{