*Do not let farsight dynobj apply non-exist auras. This fixed farsight.
--HG-- branch : trunk
This commit is contained in:
1 parent
c5175e5e47
commit
b7ec91f72d
2 files changed
+9
-6
No files matched your search
@@ -113,12 +113,15 @@ void DynamicObject::Update(uint32 p_time)
|
||||
else
|
||||
deleteThis = true;
|
||||
|
||||
if(m_updateTimer < p_time)
|
||||
if(m_effIndex < 4)
|
||||
{
|
||||
Trinity::DynamicObjectUpdater notifier(*this,caster);
|
||||
VisitNearbyObject(GetRadius(), notifier);
|
||||
m_updateTimer = 500; // is this official-like?
|
||||
}else m_updateTimer -= p_time;
|
||||
if(m_updateTimer < p_time)
|
||||
{
|
||||
Trinity::DynamicObjectUpdater notifier(*this,caster);
|
||||
VisitNearbyObject(GetRadius(), notifier);
|
||||
m_updateTimer = 500; // is this official-like?
|
||||
}else m_updateTimer -= p_time;
|
||||
}
|
||||
|
||||
if(deleteThis)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user