Extra debug for the file writing.

This commit is contained in:
brendon 2020-06-15 08:47:58 -07:00
parent 97c278b229
commit 160fa4dbb6

View file

@ -3439,15 +3439,15 @@ idFile *idFileSystemLocal::OpenFileWrite( const char *relativePath, const char *
OSpath = BuildOSPath( path, gameFolder, relativePath );
if ( fs_debug.GetInteger() ) {
//if ( fs_debug.GetInteger() ) {
common->Printf( "idFileSystem::OpenFileWrite: %s\n", OSpath.c_str() );
}
//}
// if the dir we are writing to is in our current list, it will be outdated
// so just flush everything
ClearDirCache();
common->DPrintf( "writing to: %s\n", OSpath.c_str() );
common->Printf( "writing to: %s\n", OSpath.c_str() );
CreateOSPath( OSpath );
f = new idFile_Permanent();