From 591e11e74089e714f4d3ec1c749840187713d56c Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Sun, 27 Aug 2006 15:34:44 +0000 Subject: [PATCH] There are actually files that can have a length of 0 so this in-use-check was just wrong. --- code/qcommon/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }