mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-02 12:41:40 +00:00
make fs_skinbase default to fs_basegame when using newstyle
This commit is contained in:
parent
90f206ba5d
commit
1e270eb552
1 changed files with 5 additions and 0 deletions
|
@ -1084,8 +1084,13 @@ COM_Filesystem_Init_Cvars (void)
|
||||||
"location of your game directories");
|
"location of your game directories");
|
||||||
fs_basegame = Cvar_Get ("fs_basegame", BASEGAME, CVAR_ROM,
|
fs_basegame = Cvar_Get ("fs_basegame", BASEGAME, CVAR_ROM,
|
||||||
"game to use by default");
|
"game to use by default");
|
||||||
|
#ifdef NEWSTYLE
|
||||||
|
fs_skinbase= Cvar_Get ("fs_skinbase", fs_basegame->string, CVAR_ROM,
|
||||||
|
"location of skins dir for downloads");
|
||||||
|
#else
|
||||||
fs_skinbase= Cvar_Get ("fs_skinbase", SKINBASE, CVAR_ROM,
|
fs_skinbase= Cvar_Get ("fs_skinbase", SKINBASE, CVAR_ROM,
|
||||||
"location of skins dir for downloads");
|
"location of skins dir for downloads");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue