|
|
@ -2967,7 +2967,7 @@ void CPatchThread::processFile (CPatchManager::SFileToPatch &rFTP)
|
|
|
|
PatchSizeProgress += rFTP.PatcheSizes[j];
|
|
|
|
PatchSizeProgress += rFTP.PatcheSizes[j];
|
|
|
|
currentPatchedSize += rFTP.PatcheSizes[j];
|
|
|
|
currentPatchedSize += rFTP.PatcheSizes[j];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
if (tmpSourceName != DestinationName)
|
|
|
|
if (tmpSourceName != DestinationName)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
pPM->deleteFile(SourceName, false, false); // File can exists if bad BNP loading
|
|
|
|
pPM->deleteFile(SourceName, false, false); // File can exists if bad BNP loading
|
|
|
@ -2981,7 +2981,6 @@ void CPatchThread::processFile (CPatchManager::SFileToPatch &rFTP)
|
|
|
|
pPM->renameFile(tmpSourceName, DestinationName);
|
|
|
|
pPM->renameFile(tmpSourceName, DestinationName);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|