From 281fc8e8ab63a76300945eb8e7552cea3e55b64c Mon Sep 17 00:00:00 2001 From: plagman Date: Thu, 3 Dec 2009 03:11:41 +0000 Subject: [PATCH] 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 --- polymer/eduke32/source/game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 6f893a899..757955b41 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -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,"/");