mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 10:37:41 -04:00
Remove more server override cruft
This commit is contained in:
@ -1581,21 +1581,20 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nC
|
||||
si.cb = sizeof(si);
|
||||
wchar cmdLine[MAX_PATH];
|
||||
const wchar ** addrs;
|
||||
unsigned count;
|
||||
|
||||
if (!eventExists) // if it is missing, assume patcher wasn't launched
|
||||
{
|
||||
StrCopy(cmdLine, s_patcherExeName, arrsize(cmdLine));
|
||||
count = GetAuthSrvHostnames(&addrs);
|
||||
if(count && AuthSrvHostnameOverride())
|
||||
GetAuthSrvHostnames(&addrs);
|
||||
if(wcslen(addrs[0]))
|
||||
StrPrintf(cmdLine, arrsize(cmdLine), L"%ws /AuthSrv=%ws", cmdLine, addrs[0]);
|
||||
|
||||
count = GetFileSrvHostnames(&addrs);
|
||||
if(count && FileSrvHostnameOverride())
|
||||
GetFileSrvHostnames(&addrs);
|
||||
if(wcslen(addrs[0]))
|
||||
StrPrintf(cmdLine, arrsize(cmdLine), L"%ws /FileSrv=%ws", cmdLine, addrs[0]);
|
||||
|
||||
count = GetGateKeeperSrvHostnames(&addrs);
|
||||
if(count && GateKeeperSrvHostnameOverride())
|
||||
GetGateKeeperSrvHostnames(&addrs);
|
||||
if(wcslen(addrs[0]))
|
||||
StrPrintf(cmdLine, arrsize(cmdLine), L"%ws /GateKeeperSrv=%ws", cmdLine, addrs[0]);
|
||||
|
||||
if(!CreateProcessW(NULL, cmdLine, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi))
|
||||
|
Reference in New Issue
Block a user