*Let feign death interrupt enemies' casting.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-17 18:45:54 -06:00
parent 32a9420289
commit 01db065ceb
4 changed files with 26 additions and 22 deletions

View File

@@ -116,7 +116,7 @@ void DynamicObject::Update(uint32 p_time)
if(m_updateTimer < p_time)
{
Trinity::DynamicObjectUpdater notifier(*this,caster);
GetMap()->VisitAll(GetPositionX(), GetPositionY(), GetRadius(), notifier);
VisitNearbyObject(GetRadius(), notifier);
m_updateTimer = 500; // is this official-like?
}else m_updateTimer -= p_time;