diff options
author | Spp <none@none> | 2010-04-07 19:13:19 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-07 19:13:19 +0200 |
commit | 2e127f7a30706dc1d40c65de22ff02851732da24 (patch) | |
tree | 91f7e8033e9296fdd8dbb2d5a761c9980cc36f18 /src/game/Unit.cpp | |
parent | 182e9a20b107c0d824e8a0bd1cf8f7eceb2b4ce5 (diff) |
Code style (game + scripts only):
"while(" --> "while ("
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 3e7d9b8983b..017f941ffd2 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -3143,7 +3143,7 @@ uint32 Unit::GetWeaponSkillValue (WeaponAttackType attType, Unit const* target) void Unit::_DeleteRemovedAuras() { - while(!m_removedAuras.empty()) + while (!m_removedAuras.empty()) { delete m_removedAuras.front(); m_removedAuras.pop_front(); @@ -4366,7 +4366,7 @@ AuraEffect * Unit::GetAuraEffect(uint32 spellId, uint8 effIndex, uint64 caster) AuraEffect * Unit::GetAuraEffectOfRankedSpell(uint32 spellId, uint8 effIndex, uint64 caster) const { uint32 rankSpell = spellmgr.GetFirstSpellInChain(spellId); - while(true) + while (true) { if (AuraEffect * aurEff = GetAuraEffect(rankSpell, effIndex, caster)) return aurEff; @@ -4429,7 +4429,7 @@ Aura * Unit::GetAura(uint32 spellId, uint64 casterGUID, uint8 reqEffMask) const AuraApplication * Unit::GetAuraApplicationOfRankedSpel(uint32 spellId, uint64 casterGUID, uint8 reqEffMask, AuraApplication * except) const { uint32 rankSpell = spellmgr.GetFirstSpellInChain(spellId); - while(true) + while (true) { if (AuraApplication * aurApp = GetAuraApplication(rankSpell, casterGUID, reqEffMask, except)) return aurApp; @@ -4750,7 +4750,7 @@ void Unit::RemoveDynObject(uint32 spellid) void Unit::RemoveAllDynObjects() { - while(!m_dynObjGUIDs.empty()) + while (!m_dynObjGUIDs.empty()) { DynamicObject* dynObj = GetMap()->GetDynamicObject(*m_dynObjGUIDs.begin()); if(dynObj) @@ -13933,7 +13933,7 @@ void Unit::SetDisplayId(uint32 modelId) void Unit::ClearComboPointHolders() { - while(!m_ComboPointHolders.empty()) + while (!m_ComboPointHolders.empty()) { uint32 lowguid = *m_ComboPointHolders.begin(); |