mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-09 23:01:51 +00:00
Make FS_BuildOSPath for botlib.log consistent with typical usage
I don't think anywhere else uses "" to mean current game directory. Though it's only an issue for my fork where I removed that behavior.
This commit is contained in:
parent
f3bdd6f022
commit
22fcd82965
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ void Log_Open(char *filename)
|
|||
botimport.Print(PRT_ERROR, "log file %s is already opened\n", logfile.filename);
|
||||
return;
|
||||
} //end if
|
||||
ospath = FS_BuildOSPath(Cvar_VariableString("fs_homepath"), "", filename);
|
||||
ospath = FS_BuildOSPath(Cvar_VariableString("fs_homepath"), Cvar_VariableString("fs_game"), filename);
|
||||
logfile.fp = fopen(ospath, "wb");
|
||||
if (!logfile.fp)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue