mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
[11233] Better way to get caster GUID of dynamic object
This commit is contained in:
parent
2469bf946a
commit
ad1f8a1791
2 changed files with 2 additions and 2 deletions
|
|
@ -160,7 +160,7 @@ inline void MaNGOS::DynamicObjectUpdater::VisitHelper(Unit* target)
|
|||
|
||||
// Apply PersistentAreaAura on target
|
||||
// in case 2 dynobject overlap areas for same spell, same holder is selected, so dynobjects share holder
|
||||
SpellAuraHolder *holder = target->GetSpellAuraHolder(spellInfo->Id, i_dynobject.GetCaster()->GetGUID());
|
||||
SpellAuraHolder *holder = target->GetSpellAuraHolder(spellInfo->Id, i_dynobject.GetCasterGuid().GetRawValue());
|
||||
|
||||
if (holder)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue