mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 10:55:43 +00:00
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:
@@ -2728,6 +2728,8 @@ void Spell::EffectAddFarsight(SpellEffIndex effIndex)
|
||||
|
||||
dynObj->SetDuration(duration);
|
||||
dynObj->SetCasterViewpoint();
|
||||
|
||||
m_caster->ToPlayer()->UpdateVisibilityForPlayer();
|
||||
}
|
||||
|
||||
void Spell::EffectUntrainTalents(SpellEffIndex /*effIndex*/)
|
||||
|
||||
Reference in New Issue
Block a user