replace rename with proper VFS call
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2232 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
f344eb9df0
commit
dbdfc2e3d0
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ void Con_Log (char *s)
|
||||||
|
|
||||||
// TODO: option to compress file somewhere in here?
|
// TODO: option to compress file somewhere in here?
|
||||||
// rename our base file, which better exist...
|
// rename our base file, which better exist...
|
||||||
if (rename(f, oldf))
|
if (FS_Rename(f, oldf, FS_BASE))
|
||||||
{
|
{
|
||||||
// rename failed, disable log and bug out
|
// rename failed, disable log and bug out
|
||||||
Cvar_ForceSet(&log_enable, "0");
|
Cvar_ForceSet(&log_enable, "0");
|
||||||
|
|
Loading…
Reference in a new issue