add workaround for multiplayer

This commit is contained in:
NightFox 2021-12-28 02:16:55 +03:00
parent 8848502572
commit 13914830b7
1 changed files with 4 additions and 0 deletions

View File

@ -2709,6 +2709,10 @@ void CL_AddEntityEffects( cl_entity_t *ent )
dl->die = cl.time + 0.001;
}
}
else if (ent->player && ent->index != ( cl.playernum + 1 ))
{
CL_UpdateFlashlight( ent );
}
}
else if ( FBitSet( ent->curstate.effects, EF_DIMLIGHT ))
{