mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Changed: Convert unpackTo directories to absolute directories
--HG-- branch : develop
This commit is contained in:
parent
69b5157da5
commit
d1252b44dd
1 changed files with 3 additions and 2 deletions
|
@ -1121,9 +1121,9 @@ void CPatchManager::readDescFile(sint32 nVersion)
|
|||
|
||||
std::string unpackTo = category.getUnpackTo();
|
||||
|
||||
if (unpackTo.substr(0, 2) == "./")
|
||||
if (unpackTo.substr(0, 1) == ".")
|
||||
{
|
||||
unpackTo = ClientRootPath + unpackTo.substr(2);
|
||||
unpackTo = CPath::makePathAbsolute(unpackTo, ClientRootPath, true);
|
||||
category.setUnpackTo(unpackTo);
|
||||
}
|
||||
}
|
||||
|
@ -2402,6 +2402,7 @@ void CPatchThread::run()
|
|||
// Set a more explicit error message
|
||||
pPM->setErrorMessage(sTranslate);
|
||||
}
|
||||
|
||||
PatchOk = !bErr;
|
||||
Ended = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue