mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-24 09:58:46 +00:00
Changed: Minor changes
--HG-- branch : develop
This commit is contained in:
parent
9bc4534660
commit
93225c6495
1 changed files with 4 additions and 3 deletions
|
@ -237,7 +237,7 @@ void CPatchManager::setClientRootPath(const std::string& clientRootPath)
|
||||||
{
|
{
|
||||||
ClientRootPath = CPath::standardizePath(clientRootPath);
|
ClientRootPath = CPath::standardizePath(clientRootPath);
|
||||||
ClientPatchPath = CPath::standardizePath(ClientRootPath + "unpack");
|
ClientPatchPath = CPath::standardizePath(ClientRootPath + "unpack");
|
||||||
|
|
||||||
WritableClientDataPath = CPath::standardizePath(ClientRootPath + "data");
|
WritableClientDataPath = CPath::standardizePath(ClientRootPath + "data");
|
||||||
|
|
||||||
#ifdef NL_OS_MAC
|
#ifdef NL_OS_MAC
|
||||||
|
@ -275,6 +275,7 @@ void CPatchManager::init(const std::vector<std::string>& patchURIs, const std::s
|
||||||
{
|
{
|
||||||
uint i;
|
uint i;
|
||||||
PatchServers.clear();
|
PatchServers.clear();
|
||||||
|
|
||||||
for (i=0; i<patchURIs.size(); ++i)
|
for (i=0; i<patchURIs.size(); ++i)
|
||||||
{
|
{
|
||||||
PatchServers.push_back(CPatchServer(patchURIs[i]));
|
PatchServers.push_back(CPatchServer(patchURIs[i]));
|
||||||
|
@ -895,7 +896,7 @@ void CPatchManager::createBatchFile(CProductDescriptionForClient &descFile, bool
|
||||||
fprintf(fp, ":looppatch\n");
|
fprintf(fp, ":looppatch\n");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
vector<string> vFileList;
|
vector<string> vFileList;
|
||||||
CPath::getPathContent ("patch", false, false, true, vFileList, NULL, false);
|
CPath::getPathContent ("patch", false, false, true, vFileList, NULL, false);
|
||||||
|
|
||||||
|
@ -2736,7 +2737,7 @@ void CPatchThread::run()
|
||||||
for (i = 0; i < AllFilesToPatch.size(); ++i)
|
for (i = 0; i < AllFilesToPatch.size(); ++i)
|
||||||
{
|
{
|
||||||
CPatchManager::SFileToPatch &rFTP = AllFilesToPatch[i];
|
CPatchManager::SFileToPatch &rFTP = AllFilesToPatch[i];
|
||||||
|
|
||||||
string ext = NLMISC::CFile::getExtension(rFTP.FileName);
|
string ext = NLMISC::CFile::getExtension(rFTP.FileName);
|
||||||
if (ext == "bnp")
|
if (ext == "bnp")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue