fix(Core/Players): Updates visibility of nearby entities around player's viewpoint in case of immediate changing farsight object. (#11520)

Fixes #11322
This commit is contained in:
UltraNix
2022-04-27 15:12:45 +02:00
committed by GitHub
parent 35596b0b01
commit b7be09e96c

View File

@@ -2728,6 +2728,8 @@ void Spell::EffectAddFarsight(SpellEffIndex effIndex)
dynObj->SetDuration(duration);
dynObj->SetCasterViewpoint();
m_caster->ToPlayer()->UpdateVisibilityForPlayer();
}
void Spell::EffectUntrainTalents(SpellEffIndex /*effIndex*/)