Fixed a bug were loading a map in radiant wouldn't clear the new cache.

This commit is contained in:
Justin Marshall
2026-04-25 09:30:10 -07:00
parent eacf47618f
commit 9af7c9ecdc
4 changed files with 12 additions and 6 deletions
+2
View File
@@ -222,6 +222,8 @@ void Map_Free(void) {
}
}
g_pParentWnd->GetCamera()->FreeRendererState();
// clear all the render and sound system data
g_qeglobals.rw->InitFromMap( NULL );
g_qeglobals.sw->ClearAllSoundEmitters();