diff options
author | Spp <none@none> | 2010-04-07 19:12:44 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-07 19:12:44 +0200 |
commit | 182e9a20b107c0d824e8a0bd1cf8f7eceb2b4ce5 (patch) | |
tree | eaad3fb4d60703db8df6a94a197321c7125f58ef /src/game/SpellAuras.h | |
parent | b27ce42704c33e292bda390265bb8fd01a433505 (diff) |
Code style (game + scripts only):
"for(" --> "for ("
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellAuras.h')
-rw-r--r-- | src/game/SpellAuras.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellAuras.h b/src/game/SpellAuras.h index f6cd3804d53..a0eff82f278 100644 --- a/src/game/SpellAuras.h +++ b/src/game/SpellAuras.h @@ -151,7 +151,7 @@ class Aura bool HasEffect(uint8 effIndex) const { return bool(GetEffect(effIndex)); } bool HasEffectType(AuraType type) const; AuraEffect * GetEffect (uint8 effIndex) const { assert (effIndex < MAX_SPELL_EFFECTS); return m_effects[effIndex]; } - uint8 GetEffectMask() const { uint8 effMask = 0; for(uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i) if (m_effects[i]) effMask |= 1<<i; return effMask; } + uint8 GetEffectMask() const { uint8 effMask = 0; for (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i) if (m_effects[i]) effMask |= 1<<i; return effMask; } void RecalculateAmountOfEffects(); void HandleAllEffects(AuraApplication const * aurApp, uint8 mode, bool apply); |