aboutsummaryrefslogtreecommitdiffstats
path: root/code/game
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-04-14 20:35:47 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-04-14 20:35:47 +0000
commitebc324c51129913005829783f8ea76b490bd4fcb (patch)
tree76e73a7255162a2d35b6da6bef3a3879342b9b56 /code/game
parent59c60a2cbaa8f89d389af3b5ef93b13b80b80b88 (diff)
downloadioquake3-aero-ebc324c51129913005829783f8ea76b490bd4fcb.tar.gz
ioquake3-aero-ebc324c51129913005829783f8ea76b490bd4fcb.zip
* Output botlib.log in a sensible place (from Erik Auerswald)
git-svn-id: svn://svn.icculus.org/quake3/trunk@705 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/game')
-rw-r--r--code/game/ai_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/code/game/ai_main.c b/code/game/ai_main.c
index c032bcd..f67af0e 100644
--- a/code/game/ai_main.c
+++ b/code/game/ai_main.c
@@ -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");