aboutsummaryrefslogtreecommitdiff
path: root/src/game/NullCreatureAI.cpp
diff options
context:
space:
mode:
authorBlaymoira <none@none>2009-03-14 19:35:04 +0100
committerBlaymoira <none@none>2009-03-14 19:35:04 +0100
commit04a42413bf9662c4e9c6cfdf6916e05325d090c7 (patch)
tree7689deba162f051770b979d48e2f6279697129f7 /src/game/NullCreatureAI.cpp
parentef71840b7ecb62a15ebc74954f26b20f290f8cc7 (diff)
parent8cce1ff1ecf795ebe8c620a9469e3b9d7290241a (diff)
*Merge
--HG-- branch : trunk
Diffstat (limited to 'src/game/NullCreatureAI.cpp')
-rw-r--r--src/game/NullCreatureAI.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/NullCreatureAI.cpp b/src/game/NullCreatureAI.cpp
index 2745dd3ea8d..be59ed6e40d 100644
--- a/src/game/NullCreatureAI.cpp
+++ b/src/game/NullCreatureAI.cpp
@@ -27,6 +27,11 @@ void PassiveAI::UpdateAI(const uint32)
EnterEvadeMode();
}
+void PossessedAI::AttackStart(Unit *target)
+{
+ me->Attack(target, true);
+}
+
void PossessedAI::UpdateAI(const uint32 diff)
{
if(me->getVictim())