More fixes for the FS_Shutdown change. Declare qconsole.log as closed before FS_Shutdown

closes all files.
This commit is contained in:
Thilo Schulz 2006-08-28 01:10:46 +00:00
parent fbfc886b22
commit 39d050b748
3 changed files with 5 additions and 2 deletions

View file

@ -2719,6 +2719,9 @@ void FS_Shutdown( qboolean closemfp ) {
searchpath_t *p, *next;
int i;
// logfile will now get closed.
logfile = 0;
for(i = 0; i < MAX_FILE_HANDLES; i++) {
if (fsh[i].handleFiles.file.o) {
FS_FCloseFile(i);