Remove unused homedir botlib variable

This commit is contained in:
Tim Angus committed 2025-09-04 15:40:55 +01:00
1 parent a983d4357b
commit 6b4b1dc84d
2 files changed
-4

No files matched your search

-3
View File
@@ -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");