* Output botlib.log in a sensible place (from Erik Auerswald)
This commit is contained in:
1 parent
131fb9933f
commit
0018df2cfc
2 files changed
+6
-1
No files matched your search
@@ -1628,6 +1628,9 @@ int BotInitLibrary(void) {
|
||||
//cd directory
|
||||
trap_Cvar_VariableStringBuffer("fs_cdpath", buf, sizeof(buf));
|
||||
if (strlen(buf)) trap_BotLibVarSet("cddir", 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