diff --git a/code/qcommon/files.c b/code/qcommon/files.c index af5518b4..0d70db20 100644 --- a/code/qcommon/files.c +++ b/code/qcommon/files.c @@ -2720,7 +2720,7 @@ void FS_Shutdown( qboolean closemfp ) { int i; for(i = 0; i < MAX_FILE_HANDLES; i++) { - if (fsh[i].fileSize) { + if (fsh[i].handleFiles.file.o) { FS_FCloseFile(i); } }