From 98657f6844aff32747a2cdef79424323bc864bc5 Mon Sep 17 00:00:00 2001 From: ZZYZX Date: Sun, 25 Dec 2016 13:19:45 +0200 Subject: [PATCH] STYLE_None actors are no more subject to P_LinkRenderSectors --- src/p_map.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/p_map.cpp b/src/p_map.cpp index e1e42db60..a194f2de3 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -6650,6 +6650,10 @@ void P_CreateSecNodeList(AActor *thing) void P_LinkRenderSectors(AActor* thing) { + // if this thing has RenderStyle None, don't link it anywhere. + if (thing->RenderStyle == LegacyRenderStyles[STYLE_None]) + return; + FBoundingBox box(thing->X(), thing->Y(), std::max(thing->renderradius, thing->radius)); FBlockLinesIterator it(box); line_t *ld;