aboutsummaryrefslogtreecommitdiff
path: root/src/game/CreatureEventAI.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-09-14 16:49:23 -0700
committermaximius <none@none>2009-09-14 16:49:23 -0700
commit140ec674a040bdc04086472330a289c2d15ecc65 (patch)
tree343ac40e805c3139a2bc1bd80e956e89c5a1653c /src/game/CreatureEventAI.cpp
parentb37f9b1e55bd4b80597b8b8c3f461aad70ccc5c1 (diff)
Backed out changeset d3fe2d6d504a (please test your patches thoroughly before getting me to push them ogeraisi)
--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())