aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/qcommon/files.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}