1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 02:51:27 +00:00

Implement progress failures

I took the liberty to improve the obvious failure cases where a red progress
bar would be useful.
This commit is contained in:
2012-03-20 01:08:21 -04:00
parent dcba1fb60a
commit 6039d62bc2
7 changed files with 27 additions and 9 deletions

View File

@ -277,7 +277,10 @@ void plResPatcher::Finish(bool success)
if (success)
PatcherLog(kHeader, "--- Patch Completed Successfully ---");
else
{
PatcherLog(kHeader, "--- Patch Killed by Error ---");
fProgress->SetAborting();
}
plResPatcherMsg* pMsg = new plResPatcherMsg(success, sLastError);
pMsg->Send(); // whoosh... off it goes