From dfaaa609a4cc13216c280e1602f6fdd6a13091d9 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Sat, 2 Jun 2018 14:56:34 +0200 Subject: [PATCH] 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 --- radiant/map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.2