diff options
author | maximius <none@none> | 2009-10-17 16:20:24 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-17 16:20:24 -0700 |
commit | 3f338cc1c328c7280957583b50598292cd8fb64b (patch) | |
tree | ca209c2cd024e3902b7844b3224bceff7c5bb570 /src/game/SpellAuras.h | |
parent | e585187b248f48b3c6e9247b49fa07c6565d65e5 (diff) |
*Massive cleanup redux.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellAuras.h')
-rw-r--r-- | src/game/SpellAuras.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellAuras.h b/src/game/SpellAuras.h index 821e208d6b7..3730107461a 100644 --- a/src/game/SpellAuras.h +++ b/src/game/SpellAuras.h @@ -45,7 +45,7 @@ typedef void(AuraEffect::*pAuraHandler)(bool Apply, bool Real, bool changeAmount // each setting object update field code line moved under if(Real) check is significant Trinity speedup, and less server->client data sends // each packet sending code moved under if(Real) check is _large_ Trinity speedup, and lot less server->client data sends // -// changeAmount == true at changing existing aura amount - called wit real == false +// changeAmount == true at changing existing aura amount - called wit real == false // if aura has amount dependant effect handler has to allow proceeding it // example: change speed aura, modifier aura @@ -113,7 +113,7 @@ class TRINITY_DLL_SPEC Aura bool HasEffect(uint8 effIndex) const {return bool (m_partAuras[effIndex]);} inline void HandleEffects(bool apply) { - for (uint8 i = 0; i<MAX_SPELL_EFFECTS;++i) + for (uint8 i = 0; i<MAX_SPELL_EFFECTS; ++i) if (m_partAuras[i]) m_target->HandleAuraEffect(m_partAuras[i], apply); } |