fix(Scripts/TempleOfAhnQiraj): fix GCC/Clang build error in Skeram aggro yell (#26802)
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "CreatureScript.h"
|
#include "CreatureScript.h"
|
||||||
|
#include "Player.h"
|
||||||
#include "ScriptedCreature.h"
|
#include "ScriptedCreature.h"
|
||||||
#include "SpellScript.h"
|
#include "SpellScript.h"
|
||||||
#include "SpellScriptLoader.h"
|
#include "SpellScriptLoader.h"
|
||||||
@@ -155,7 +156,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