mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-30 16:41:31 +00:00
* Output botlib.log in a sensible place (from Erik Auerswald)
This commit is contained in:
parent
131fb9933f
commit
0018df2cfc
2 changed files with 6 additions and 1 deletions
|
@ -136,12 +136,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");
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue