aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/World/npc_guard.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/scripts/World/npc_guard.cpp b/src/server/scripts/World/npc_guard.cpp
index d199a3ca176..53bfddf56b6 100644
--- a/src/server/scripts/World/npc_guard.cpp
+++ b/src/server/scripts/World/npc_guard.cpp
@@ -220,7 +220,7 @@ struct npc_guard_shattrath_faction : public GuardAI
{
DoCast(temp, me->GetEntry() == NPC_ALDOR_VINDICATOR ? SPELL_BANISHED_SHATTRATH_S : SPELL_BANISHED_SHATTRATH_A);
ObjectGuid playerGUID = temp->GetGUID();
- banishContext.Schedule(Seconds(9), [this, playerGUID](TaskContext exileContext)
+ banishContext.Schedule(Seconds(9), [this, playerGUID](TaskContext /*exileContext*/)
{
if (Unit* temp = ObjectAccessor::GetUnit(*me, playerGUID))
{
@@ -241,6 +241,6 @@ private:
void AddSC_npc_guard()
{
- RegisterCreatureAI(npc_guard_generic());
- RegisterCreatureAI(npc_guard_shattrath_faction());
+ RegisterCreatureAI(npc_guard_generic);
+ RegisterCreatureAI(npc_guard_shattrath_faction);
}