mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-06 06:47:53 +00:00
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 "Player.h"
|
||||
#include "ScriptedCreature.h"
|
||||
#include "SpellScript.h"
|
||||
#include "SpellScriptLoader.h"
|
||||
@@ -155,7 +156,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