1
0
Fork 0
forked from fte/fteqw

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:
TimeServ 2006-05-01 00:22:55 +00:00
parent f344eb9df0
commit dbdfc2e3d0

View file

@ -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");