mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Use the correct file sizes in plResPatcher
This commit is contained in:
@ -183,7 +183,8 @@ static void ManifestDownloaded(
|
||||
PatcherLog(kInfo, " Enqueueing %s: File Sizes Differ", fileName);
|
||||
|
||||
// If we're still here, then we need to update the file.
|
||||
patcher->GetProgress()->SetLength((float)mfs.fileSize + patcher->GetProgress()->GetMax());
|
||||
float size = mfs.zipSize ? (float)mfs.zipSize : (float)mfs.fileSize;
|
||||
patcher->GetProgress()->SetLength(size + patcher->GetProgress()->GetMax());
|
||||
patcher->RequestFile(mfs.downloadName, mfs.clientName);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user