From d2540ba060393403d7a602083549671d389bbdcf Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 26 Oct 2024 19:44:12 +0200 Subject: [PATCH] this should be portalcullsector lol --- src/hardware/hw_portal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/hw_portal.c b/src/hardware/hw_portal.c index 56682fc6f..3253d6711 100644 --- a/src/hardware/hw_portal.c +++ b/src/hardware/hw_portal.c @@ -74,7 +74,7 @@ static gl_portal_t* HWR_Portal_Add (seg_t *seg) void HWR_FreePortalList(gl_portallist_t freelist) { - portalclipline = NULL; + portalcullsector = NULL; // free memory from portal list allocated by calls to Add2Lines gl_portal_t *gl_portal_temp = freelist.base;