1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

HACK fix client path joining

This commit is contained in:
2013-02-02 17:54:30 -05:00
parent bbd1723e2c
commit 216d4ac983

View File

@ -966,7 +966,7 @@ void UruStartProc (void * param) {
//fprintf(stderr, "URUPlayer StartProc gamePath is:%ws\n", workDir);
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)
HANDLE hPatcherEvent = CreateEventW(nil, TRUE, FALSE, L"UruPatcherEvent");