mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
HACK fix client path joining
This commit is contained in:
@ -966,7 +966,7 @@ void UruStartProc (void * param) {
|
|||||||
//fprintf(stderr, "URUPlayer StartProc gamePath is:%ws\n", workDir);
|
//fprintf(stderr, "URUPlayer StartProc gamePath is:%ws\n", workDir);
|
||||||
|
|
||||||
wchar_t cmdLine[MAX_PATH];
|
wchar_t cmdLine[MAX_PATH];
|
||||||
StrPrintf(cmdLine, arrsize(cmdLine), L"%s%s %s", workDir, s_clientExeName, info->cmdLine);
|
StrPrintf(cmdLine, arrsize(cmdLine), L"%s\\%s %s", workDir, s_clientExeName, info->cmdLine);
|
||||||
|
|
||||||
// Create the named event so the client won't restart us (Windows will clean it up when we exit)
|
// Create the named event so the client won't restart us (Windows will clean it up when we exit)
|
||||||
HANDLE hPatcherEvent = CreateEventW(nil, TRUE, FALSE, L"UruPatcherEvent");
|
HANDLE hPatcherEvent = CreateEventW(nil, TRUE, FALSE, L"UruPatcherEvent");
|
||||||
|
Reference in New Issue
Block a user