STYLE_None actors are no more subject to P_LinkRenderSectors

This commit is contained in:
ZZYZX 2016-12-25 13:19:45 +02:00
parent 87b23d160b
commit 98657f6844
1 changed files with 4 additions and 0 deletions

View File

@ -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;