From: black Date: Thu, 17 Mar 2005 18:57:45 +0000 (+0000) Subject: Well, you might not like this change, but I dont like it the way it is, so X-Git-Tag: xonotic-v0.1.0preview~5076 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7e843d7654d44973e04049701a6a842305c383e0;p=xonotic%2Fdarkplaces.git Well, you might not like this change, but I dont like it the way it is, so it's up to you to fix it in a convenient way. I certainly dont want to have my config files and qconsole.log (and possibly all other files DP creates) in some linux-style .darkplaces folder(!) somewhere hidden in my CVS home directory. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5092 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/fs.c b/fs.c index b622bd80..1fb9f16b 100644 --- a/fs.c +++ b/fs.c @@ -860,10 +860,12 @@ void FS_AddGameHierarchy (const char *dir) // Add the common game directory FS_AddGameDirectory (va("%s/%s", fs_basedir, dir)); +#ifndef WIN32 // Add the personal game directory homedir = getenv ("HOME"); if (homedir != NULL && homedir[0] != '\0') FS_AddGameDirectory (va("%s/.%s/%s", homedir, gameuserdirname, dir)); +#endif }