fix(Core/Spells): channels no longer update player server-side orientation (#22138)
This commit is contained in:
@@ -3451,7 +3451,7 @@ bool Spell::UpdateChanneledTargetList()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// Xinef: Update Orientation server side (non players wont sent appropriate packets)
|
// Xinef: Update Orientation server side (non players wont sent appropriate packets)
|
||||||
else if (m_spellInfo->HasAttribute(SPELL_ATTR1_TRACK_TARGET_IN_CHANNEL))
|
else if (!m_caster->IsPlayer() && m_spellInfo->HasAttribute(SPELL_ATTR1_TRACK_TARGET_IN_CHANNEL))
|
||||||
m_caster->UpdateOrientation(m_caster->GetAngle(unit));
|
m_caster->UpdateOrientation(m_caster->GetAngle(unit));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user