diff options
author | megamage <none@none> | 2009-03-05 13:08:46 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-05 13:08:46 -0600 |
commit | b7ec91f72d640bb694b82b0adafaa66935174d42 (patch) | |
tree | 0c3a6adb84c221dce945c7c6dd0624612a1483b5 /src/game/DynamicObject.cpp | |
parent | c5175e5e470f6c630b4c8659f0e0e6a1094891cc (diff) |
*Do not let farsight dynobj apply non-exist auras. This fixed farsight.
--HG--
branch : trunk
Diffstat (limited to 'src/game/DynamicObject.cpp')
-rw-r--r-- | src/game/DynamicObject.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/game/DynamicObject.cpp b/src/game/DynamicObject.cpp index 0ae3656fc9d..fd3e16e79d7 100644 --- a/src/game/DynamicObject.cpp +++ b/src/game/DynamicObject.cpp @@ -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) { |