mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-12 12:14:48 +00:00
Fixed: use PatchUrl instead of PatchServer in ryzom_client_patcher
This commit is contained in:
parent
cfb82e21b7
commit
c07c3caaa6
1 changed files with 5 additions and 5 deletions
|
@ -202,10 +202,10 @@ int main(int argc, char *argv[])
|
|||
// load client.cfg or client_default.cfg
|
||||
ClientCfg.init(config);
|
||||
|
||||
// check if PatchServer is defined
|
||||
if (ClientCfg.PatchServer.empty())
|
||||
// check if PatchUrl is defined
|
||||
if (ClientCfg.PatchUrl.empty())
|
||||
{
|
||||
printError("PatchServer not defined in " + config);
|
||||
printError("PatchUrl not defined in " + config);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -273,9 +273,9 @@ int main(int argc, char *argv[])
|
|||
// set the correct root path
|
||||
pPM->setClientRootPath(rootPath);
|
||||
|
||||
// use PatchServer URL
|
||||
// use PatchUrl
|
||||
vector<string> patchURLs;
|
||||
pPM->init(patchURLs, ClientCfg.PatchServer, ClientCfg.PatchVersion);
|
||||
pPM->init(patchURLs, ClientCfg.PatchUrl, ClientCfg.PatchVersion);
|
||||
pPM->startCheckThread(true /* include background patchs */);
|
||||
|
||||
ucstring state;
|
||||
|
|
Loading…
Reference in a new issue