]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Well, you might not like this change, but I dont like it the way it is, so
authorblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 17 Mar 2005 18:57:45 +0000 (18:57 +0000)
committerblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 17 Mar 2005 18:57:45 +0000 (18:57 +0000)
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

fs.c

diff --git a/fs.c b/fs.c
index b622bd80935df8ac24ee710714afe67a930e0ade..1fb9f16b3ad4327a7b5a624d9e5fafa831e0a8fb 100644 (file)
--- 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
 }