]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
refresh vfs on map load instead of restarting it, fix #115
authorThomas Debesse <dev@illwieckz.net>
Sat, 2 Jun 2018 12:56:34 +0000 (14:56 +0200)
committerThomas Debesse <dev@illwieckz.net>
Sat, 2 Jun 2018 12:56:34 +0000 (14:56 +0200)
it prevents the crash happening at map load when translucent
texture filter is activated, see #115

radiant/map.cpp

index adf69f46d974fac354bf0e3a097ae90775ac7596..5e26422d99f5ad0479d98df598646d68ea741092 100644 (file)
@@ -1050,9 +1050,9 @@ void Map_LoadFile(const char *filename)
 
     g_currentMap = &g_map;
 
-    // restart VFS to apply new pak filtering based on mapname
+    // refresh VFS to apply new pak filtering based on mapname
     // needed for daemon DPK VFS
-    VFS_Restart();
+    VFS_Refresh();
 }
 
 class Excluder {