mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-10 14:52:08 +00:00
remove -basedir again
This commit is contained in:
parent
1b139d3378
commit
54b0dc47ed
1 changed files with 4 additions and 15 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue