mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 13:11:30 +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;
|
int i;
|
||||||
|
|
||||||
for(i = 0; i < MAX_FILE_HANDLES; i++) {
|
for(i = 0; i < MAX_FILE_HANDLES; i++) {
|
||||||
if (fsh[i].fileSize) {
|
if (fsh[i].handleFiles.file.o) {
|
||||||
FS_FCloseFile(i);
|
FS_FCloseFile(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue