Go back to rev. 874. ATM, there is no good way to make FS_Restart() behave as it was originally described.
This commit is contained in:
1 parent
39d050b748
commit
01d057967f
6 files changed
+8
-23
No files matched your search
@@ -2712,18 +2712,15 @@ qboolean FS_ComparePaks( char *neededpaks, int len, qboolean dlstring ) {
|
||||
================
|
||||
FS_Shutdown
|
||||
|
||||
Frees all resources and closes all files
|
||||
Frees all resources.
|
||||
================
|
||||
*/
|
||||
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) {
|
||||
if (fsh[i].fileSize) {
|
||||
FS_FCloseFile(i);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user