From 0392e2ec916bdd801717e4c61a1e102294964c4d Mon Sep 17 00:00:00 2001 From: thilo Date: Sun, 27 Aug 2006 15:34:44 +0000 Subject: There are actually files that can have a length of 0 so this in-use-check was just wrong. git-svn-id: svn://svn.icculus.org/quake3/trunk@875 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code') diff --git a/code/qcommon/files.c b/code/qcommon/files.c index af5518b..0d70db2 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); } } -- cgit v1.2.3