There are actually files that can have a length of 0 so this in-use-check was just wrong.
This commit is contained in:
1 parent
57dbc7a79f
commit
591e11e740
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user