Core/Spells: Fix Sentry Totem's bind sight.
This commit is contained in:
@@ -5219,12 +5219,11 @@ void AuraEffect::HandleAuraDummy(AuraApplication const* aurApp, uint8 mode, bool
|
|||||||
{
|
{
|
||||||
if (apply)
|
if (apply)
|
||||||
{
|
{
|
||||||
uint64 guid = caster->m_SummonSlot[3];
|
if (uint64 guid = caster->m_SummonSlot[4])
|
||||||
if (guid)
|
|
||||||
{
|
{
|
||||||
Creature* totem = caster->GetMap()->GetCreature(guid);
|
if (Creature* totem = caster->GetMap()->GetCreature(guid))
|
||||||
if (totem && totem->isTotem())
|
if (totem->isTotem())
|
||||||
caster->ToPlayer()->CastSpell(totem, 6277, true);
|
caster->ToPlayer()->CastSpell(totem, 6277, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user