From 1e270eb552b954e52aaab5486abd6d23b7125d36 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 20 Jan 2001 04:56:02 +0000 Subject: [PATCH] make fs_skinbase default to fs_basegame when using newstyle --- source/quakefs.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/quakefs.c b/source/quakefs.c index 1848d8f..8363c74 100644 --- a/source/quakefs.c +++ b/source/quakefs.c @@ -1084,8 +1084,13 @@ COM_Filesystem_Init_Cvars (void) "location of your game directories"); fs_basegame = Cvar_Get ("fs_basegame", BASEGAME, CVAR_ROM, "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, "location of skins dir for downloads"); +#endif } /*