aboutsummaryrefslogtreecommitdiff
path: root/src/game/CreatureEventAI.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-09-14 16:02:13 -0700
committermaximius <none@none>2009-09-14 16:02:13 -0700
commitb37f9b1e55bd4b80597b8b8c3f461aad70ccc5c1 (patch)
treec637055aab5d8f0e733fc611fada42c43ad04d83 /src/game/CreatureEventAI.cpp
parent7b664c8c9fdda2b963f7883684a2f31d0f79551b (diff)
*Merged MaNGOS [8458], [8475], [8476] by ogeraisi, thanks to all authors :)
--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 b7795dc3927..bf606c6c488 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())