diff options
author | Tim Angus <tim@ngus.net> | 2006-04-16 00:38:56 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2006-04-16 00:38:56 +0000 |
commit | dfa4bb52a7ac0b1f99d1ce9f78ec0ffbb7d7febc (patch) | |
tree | 5a9285a1e1b232615ad964efc09237fe2d0b60b1 /src/botlib | |
parent | 85a7e9ef79326422e1fea85d7668f37c24c3dd93 (diff) |
* Merged ioq3-r708
Diffstat (limited to 'src/botlib')
-rw-r--r-- | src/botlib/be_interface.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/botlib/be_interface.c b/src/botlib/be_interface.c index fe5cbe8d..e70a6d4a 100644 --- a/src/botlib/be_interface.c +++ b/src/botlib/be_interface.c @@ -137,12 +137,14 @@ qboolean BotLibSetup(char *str) int Export_BotLibSetup(void) { int errnum; + char logfilename[MAX_QPATH]; bot_developer = LibVarGetValue("bot_developer"); memset( &botlibglobals, 0, sizeof(botlibglobals) ); // bk001207 - init //initialize byte swapping (litte endian etc.) // Swap_Init(); - Log_Open("botlib.log"); + Com_sprintf(logfilename, sizeof(logfilename), "%s%cbotlib.log", LibVarGetString("homedir"), PATH_SEP); + Log_Open(logfilename); // botimport.Print(PRT_MESSAGE, "------- BotLib Initialization -------\n"); // |