There are actually files that can have a length of 0 so this in-use-check was just wrong.

This commit is contained in:
Thilo Schulz 2006-08-27 15:34:44 +00:00
parent 57dbc7a79f
commit 591e11e740

View file

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