mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-07 15:28:02 +00:00
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())
|
||||
{
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user