Fixed: patching single file with multiple version in a row.

ryzom/ui/improvements
Nimetu 4 years ago
parent ae91cc4179
commit 9f3250f4db

@ -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
@ -2982,7 +2982,6 @@ void CPatchThread::processFile (CPatchManager::SFileToPatch &rFTP)
} }
} }
} }
}
else else
{ {
PatchSizeProgress += totalPatchSize; PatchSizeProgress += totalPatchSize;

Loading…
Cancel
Save