mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
STYLE_None actors are no more subject to P_LinkRenderSectors
This commit is contained in:
parent
87b23d160b
commit
98657f6844
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue