AUTHORS CREDITS:

add Nye Liu <nyet@nbase.com>
qw_common/common.c:
	include changes nyet (above:) found were needed.
This commit is contained in:
Bill Currie 2000-01-18 09:16:45 +00:00
parent f6e3e6969d
commit f9e636c147
3 changed files with 7 additions and 2 deletions

View file

@ -161,3 +161,7 @@ N: Andrew "Slade" Alexander
E: slade@quakelives.com
D: Reworking of the heart beat, and ping taking code on the server side.
D: sv_maxrate support..
A: Nye "nyet" Liu
E: nyet@nbase.com
D: game dir fixes

View file

@ -90,6 +90,7 @@ Misc Code Fixes:
Dan Nelson <dnelson@emsphone.com> -- Typo fix..
Dan Olson <theoddone@quakefiles.com>
David Symonds <xoxus@usa.net> some warnings
Nye Liu <nyet@nbase.com> game dir fixes
Cheat/exploit fixes:
Mads Bondo Dydensborg <madsdyd@challenge.dk>

View file

@ -1637,7 +1637,7 @@ void COM_AddGameDirectory (char *dir)
if ((p = strrchr(dir, '/')) != NULL)
strcpy(gamedirfile, ++p);
else
strcpy(gamedirfile, p);
strcpy(gamedirfile, dir);
strcpy (com_gamedir, dir);
//
@ -1762,7 +1762,7 @@ void COM_InitFilesystem (void)
//
// start up with GAMENAME by default
//
COM_AddGameDirectory (va("%s" GAMENAME, com_basedir) );
COM_AddGameDirectory (va("%s/" GAMENAME, com_basedir) );
COM_AddGameDirectory (va("%s/qw", com_basedir) );
// any set gamedirs will be freed up to here