From ea6759f42000b16a4c749bc02839e940c96e112d Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 21 Aug 2002 09:23:43 +0000 Subject: [PATCH] change default com_basedir to "." to fix the game when not using -basedir, oops. thanks to Elric for the bug report. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2271 d7cf8633-e32d-0410-b094-e92efae38249 --- common.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common.c b/common.c index 40eca10c..e744380c 100644 --- 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 // Overrides the system supplied base directory (under GAMENAME) -- 2.39.2