Use UpdateVictim() to check victim.

--HG--
branch : trunk
This commit is contained in:
Anubisss
2009-12-21 00:31:40 +01:00
parent 6c718a9ef7
commit 7cd5668e38
@@ -147,7 +147,7 @@ struct TRINITY_DLL_DECL npc_captured_rageclawAI : public ScriptedAI
void UpdateAI(const uint32 uiDiff) void UpdateAI(const uint32 uiDiff)
{ {
if (m_creature->getVictim()) if (UpdateVictim())
{ {
DoMeleeAttackIfReady(); DoMeleeAttackIfReady();
return; return;