mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 05:01:40 +00:00
There are actually files that can have a length of 0 so this in-use-check was just wrong.
This commit is contained in:
parent
57dbc7a79f
commit
591e11e740
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue