Remove unused homedir botlib variable
This commit is contained in:
1 parent
a983d4357b
commit
6b4b1dc84d
2 files changed
-4
No files matched your search
@@ -438,7 +438,6 @@ botlib_export_t *GetBotLibAPI( int apiVersion, botlib_import_t *import );
|
||||
name: default: module(s): description:
|
||||
|
||||
"basedir" "" - base directory
|
||||
"homedir" "" be_interface.c home directory
|
||||
"gamedir" "" be_interface.c mod game directory
|
||||
"basegame" "" be_interface.c base game directory
|
||||
|
||||
|
||||
@@ -1647,9 +1647,6 @@ int BotInitLibrary(void) {
|
||||
//game directory
|
||||
trap_Cvar_VariableStringBuffer("fs_game", buf, sizeof(buf));
|
||||
if (strlen(buf)) trap_BotLibVarSet("gamedir", buf);
|
||||
//home directory
|
||||
trap_Cvar_VariableStringBuffer("fs_homepath", buf, sizeof(buf));
|
||||
if (strlen(buf)) trap_BotLibVarSet("homedir", buf);
|
||||
//
|
||||
#ifdef MISSIONPACK
|
||||
trap_BotLibDefine("MISSIONPACK");
|
||||
|
||||
Reference in new issue
Block a user