aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.h
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-07 19:12:44 +0200
committerSpp <none@none>2010-04-07 19:12:44 +0200
commit182e9a20b107c0d824e8a0bd1cf8f7eceb2b4ce5 (patch)
treeeaad3fb4d60703db8df6a94a197321c7125f58ef /src/game/SpellAuras.h
parentb27ce42704c33e292bda390265bb8fd01a433505 (diff)
Code style (game + scripts only):
"for(" --> "for (" --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.h')
-rw-r--r--src/game/SpellAuras.h2
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);