Don't change the CWD to the eduke32.exe directory on Windows. EDuke32 now searches the CWD for data files on all platforms.

git-svn-id: https://svn.eduke32.com/eduke32@1553 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
plagman 2009-12-06 05:46:48 +00:00
parent 44575d7e2c
commit 1a1ba2b0b1
2 changed files with 2 additions and 2 deletions

View file

@ -8576,7 +8576,7 @@ int32_t ExtPreInit(int32_t argc,const char **argv)
#ifdef _WIN32
tempbuf[GetModuleFileName(NULL,tempbuf,BMAX_PATH)] = 0;
Bcorrectfilename(tempbuf,1);
chdir(tempbuf);
//chdir(tempbuf);
#endif
OSD_SetLogFile("mapster32.log");

View file

@ -10773,7 +10773,7 @@ void app_main(int32_t argc,const char **argv)
#ifdef _WIN32
tempbuf[GetModuleFileName(NULL,root,BMAX_PATH)] = 0;
Bcorrectfilename(root,1);
chdir(root);
//chdir(root);
#else
getcwd(root,BMAX_PATH);
strcat(root,"/");