fix(Scripts/TempleOfAhnQiraj): use Unit* for puller to fix build
This commit is contained in:
@@ -155,7 +155,7 @@ struct boss_skeram : public BossAI
|
|||||||
if (!me->IsSummon())
|
if (!me->IsSummon())
|
||||||
{
|
{
|
||||||
// Resolve pets/guardians to their owner so gendered locales resolve $g against the puller
|
// Resolve pets/guardians to their owner so gendered locales resolve $g against the puller
|
||||||
Player* puller = who->GetCharmerOrOwnerPlayerOrPlayerItself();
|
Unit* puller = who->GetCharmerOrOwnerPlayerOrPlayerItself();
|
||||||
Talk(SAY_AGGRO, puller ? puller : who);
|
Talk(SAY_AGGRO, puller ? puller : who);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user