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@1547 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
plagman 2009-12-03 03:11:41 +00:00
parent 4d3b7501f0
commit 281fc8e8ab

View file

@ -10488,7 +10488,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,"/");