]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - common.c
change default com_basedir to "." to fix the game when not using -basedir, oops....
[xonotic/darkplaces.git] / common.c
index 40eca10ca9aa9aa7a6ebf0b841305e886504aeb0..e744380c82d4f6fbbdd9c1739c87554389a3a5cf 100644 (file)
--- a/common.c
+++ b/common.c
@@ -510,8 +510,6 @@ void COM_StripExtension (char *in, char *out)
        }
        if (last)
                *last = 0;
-       else
-               *out = 0;
 }
 
 /*
@@ -1398,7 +1396,7 @@ void COM_InitFilesystem (void)
        int i;
        searchpath_t *search;
 
-       strcpy(com_basedir, "");
+       strcpy(com_basedir, ".");
 
        // -basedir <path>
        // Overrides the system supplied base directory (under GAMENAME)