aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortreeston <treeston.mmoc@gmail.com>2016-10-15 18:29:27 +0200
committertreeston <treeston.mmoc@gmail.com>2016-10-15 18:29:38 +0200
commit59cbea00bcb698916b442ce0157b2e23f95b7be5 (patch)
tree6e90b306ab1492e06e48e30faeb1512832eb87a9 /src
parent29cddd4e8eec1b8c94969520d83793753ead19c9 (diff)
Scripts/AzjolNerub: Make pulling Anub'arak a bit cleaner.
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_anubarak.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_anubarak.cpp b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_anubarak.cpp
index 06a91d58705..5238de69bed 100644
--- a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_anubarak.cpp
+++ b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_anubarak.cpp
@@ -121,6 +121,8 @@ public:
_petCount = 0;
}
+ bool CanAIAttack(Unit const* /*who*/) const override { return true; } // do not check boundary here
+
void EnterCombat(Unit* who) override
{
BossAI::EnterCombat(who);