aboutsummaryrefslogtreecommitdiff
path: root/src/game/CreatureEventAI.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-09-14 16:50:01 -0700
committermaximius <none@none>2009-09-14 16:50:01 -0700
commit6cb428318af4aba5ebb9d9340284165ca6181065 (patch)
tree9aee2db05975f78bf96fc0bbfff47a5fa4fca112 /src/game/CreatureEventAI.cpp
parent33f8f5ac2d2b99819ce7e0f4aad4fa0648eba35e (diff)
parent140ec674a040bdc04086472330a289c2d15ecc65 (diff)
*Merge..
--HG-- branch : trunk
Diffstat (limited to 'src/game/CreatureEventAI.cpp')
-rw-r--r--src/game/CreatureEventAI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/CreatureEventAI.cpp b/src/game/CreatureEventAI.cpp
index bf606c6c488..b7795dc3927 100644
--- a/src/game/CreatureEventAI.cpp
+++ b/src/game/CreatureEventAI.cpp
@@ -381,7 +381,7 @@ void CreatureEventAI::ProcessAction(CreatureEventAI_Action const& action, uint32
target = owner;
}
}
- else if ((target = m_creature->getVictim()))
+ else if (target = m_creature->getVictim())
{
if (target->GetTypeId() != TYPEID_PLAYER)
if (Unit* owner = target->GetOwner())