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/Spell.cpp | |
| parent | b27ce42704c33e292bda390265bb8fd01a433505 (diff) | |
Code style (game + scripts only):
"for(" --> "for ("
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
| -rw-r--r-- | src/game/Spell.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index f0d3992fa73..ac82757f03c 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -3514,7 +3514,7 @@ void Spell::SendCastResult(Player* caster, SpellEntry const* spellInfo, uint8 ca case SPELL_FAILED_TOO_MANY_OF_ITEM: { uint32 item; - for(int8 x=0;x < 3;x++) + for (int8 x=0;x < 3;x++) if (spellInfo->EffectItemType[x]) item = spellInfo->EffectItemType[x]; ItemPrototype const *pProto = objmgr.GetItemPrototype(item); @@ -6102,7 +6102,7 @@ SpellCastResult Spell::CheckItems() if (Item* pitem = p_caster->GetItemByEntry(item_id)) { - for(int x = 0; x < MAX_ITEM_PROTO_SPELLS; ++x) + for (int x = 0; x < MAX_ITEM_PROTO_SPELLS; ++x) if (pProto->Spells[x].SpellCharges != 0 && pitem->GetSpellCharges(x) == pProto->Spells[x].SpellCharges) return SPELL_FAILED_ITEM_AT_MAX_CHARGES; } |
