From: Thomas Debesse Date: Sat, 2 Jun 2018 12:56:34 +0000 (+0200) Subject: refresh vfs on map load instead of restarting it, fix #115 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dfaaa609a4cc13216c280e1602f6fdd6a13091d9;p=xonotic%2Fnetradiant.git refresh vfs on map load instead of restarting it, fix #115 it prevents the crash happening at map load when translucent texture filter is activated, see #115 --- diff --git a/radiant/map.cpp b/radiant/map.cpp index adf69f46..5e26422d 100644 --- a/radiant/map.cpp +++ b/radiant/map.cpp @@ -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 {