]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - fs.c
damn, committed the old version of my patch... this now is the REAL v_flipped
[xonotic/darkplaces.git] / fs.c
diff --git a/fs.c b/fs.c
index 916bb960f98d21e4bfbe54f6a7f31aba0667cdf9..40ec10a61ee94461039914bbca8505b57824fcf4 100644 (file)
--- a/fs.c
+++ b/fs.c
@@ -1404,6 +1404,10 @@ FS_Shutdown
 */
 void FS_Shutdown (void)
 {
+       // close all pack files and such
+       // (hopefully there aren't any other open files, but they'll be cleaned up
+       //  by the OS anyway)
+       FS_ClearSearchPath();
        Mem_FreePool (&fs_mempool);
 }