Merge branch 'master' of https://github.com/ZDoom/gzdoom
This commit is contained in:
commit
a5b08f0fb1
8 changed files with 13 additions and 3 deletions
|
|
@ -256,7 +256,7 @@ void FDynamicLight::Tick()
|
|||
|
||||
if (owned)
|
||||
{
|
||||
if (!target->state)
|
||||
if (!target->state || !target->ShouldRenderLocally())
|
||||
{
|
||||
Deactivate();
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue