From b19935416730e2d9462a841f67b70a7ea0ca2691 Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 22 Jun 2024 03:43:11 +0200 Subject: [PATCH] this should be called on mapload --- src/p_setup.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/p_setup.c b/src/p_setup.c index c99326116..4d6988e65 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -3034,7 +3034,12 @@ boolean P_SetupLevel(boolean skipprecip) #ifdef HWRENDER // not win32 only 19990829 by Kin if (rendermode == render_opengl) + { + HWR_FreeExtraSubsectors(); + + // stuff like HWR_CreatePlanePolygons is called there HWR_LoadLevel(); + } #endif // oh god I hope this helps