Changeset View
Changeset View
Standalone View
Standalone View
games/ioquake3/files/patch-code-qcommon-files.c
--- code/qcommon/files.c.orig 2009-12-08 11:07:08.000000000 +0100 | --- code/qcommon/files.c.orig 2009-02-26 13:02:59 UTC | ||||
+++ code/qcommon/files.c 2009-12-08 11:08:41.000000000 +0100 | +++ code/qcommon/files.c | ||||
@@ -241,6 +241,7 @@ | @@ -241,6 +241,7 @@ static cvar_t *fs_apppath; | ||||
#endif | #endif | ||||
static cvar_t *fs_basepath; | static cvar_t *fs_basepath; | ||||
+static cvar_t *fs_libpath; | +static cvar_t *fs_libpath; | ||||
static cvar_t *fs_basegame; | static cvar_t *fs_basegame; | ||||
static cvar_t *fs_gamedirvar; | static cvar_t *fs_gamedirvar; | ||||
static searchpath_t *fs_searchpaths; | static searchpath_t *fs_searchpaths; | ||||
@@ -2761,6 +2762,7 @@ | @@ -2761,6 +2762,7 @@ static void FS_Startup( const char *game | ||||
fs_debug = Cvar_Get( "fs_debug", "0", 0 ); | fs_debug = Cvar_Get( "fs_debug", "0", 0 ); | ||||
fs_basepath = Cvar_Get ("fs_basepath", Sys_DefaultInstallPath(), CVAR_INIT ); | fs_basepath = Cvar_Get ("fs_basepath", Sys_DefaultInstallPath(), CVAR_INIT ); | ||||
fs_basegame = Cvar_Get ("fs_basegame", "", CVAR_INIT ); | fs_basegame = Cvar_Get ("fs_basegame", "", CVAR_INIT ); | ||||
+ fs_libpath = Cvar_Get ("fs_libpath", Sys_DefaultLibPath(), CVAR_INIT ); | + fs_libpath = Cvar_Get ("fs_libpath", Sys_DefaultLibPath(), CVAR_INIT ); | ||||
homePath = Sys_DefaultHomePath(); | homePath = Sys_DefaultHomePath(); | ||||
if (!homePath || !homePath[0]) { | if (!homePath || !homePath[0]) { | ||||
homePath = fs_basepath->string; | homePath = fs_basepath->string; |