remove -basedir again

This commit is contained in:
Bill Currie 2000-12-11 17:21:05 +00:00
parent 1b139d3378
commit 54b0dc47ed

View file

@ -1092,21 +1092,10 @@ COM_Filesystem_Init (void)
void
COM_Filesystem_Init_Cvars (void)
{
int t = COM_CheckParm("-basedir");
if (t && (t + 1) < com_argc)
{
fs_sharepath = Cvar_Get ("fs_sharepath", com_argv[t+1], CVAR_ROM,
"location of shared (read only) game directories");
fs_userpath = Cvar_Get ("fs_userpath", com_argv[t+1], CVAR_ROM,
"location of your game directories");
}
else
{
fs_sharepath = Cvar_Get ("fs_sharepath", FS_SHAREPATH, CVAR_ROM,
"location of shared (read only) game directories");
fs_userpath = Cvar_Get ("fs_userpath", FS_USERPATH, CVAR_ROM,
"location of your game directories");
}
fs_sharepath = Cvar_Get ("fs_sharepath", FS_SHAREPATH, CVAR_ROM,
"location of shared (read only) game directories");
fs_userpath = Cvar_Get ("fs_userpath", FS_USERPATH, CVAR_ROM,
"location of your game directories");
fs_basegame = Cvar_Get ("fs_basegame", BASEGAME, CVAR_ROM,
"game to use by default");
}