mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 21:51:09 +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