*Use the correct tc function in last rev.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-14 00:33:06 -05:00
parent f5863c59ab
commit e3ec6f563a

View File

@@ -998,7 +998,7 @@ struct TRINITY_DLL_DECL npc_earthmender_wildaAI : public npc_escortAI
{
npc_escortAI::UpdateAI(uiDiff);
if (!m_creature->getThreatManager().getHostilTarget() || !m_creature->getVictim())
if (!UpdateVictim())
return;
//TODO: add more abilities