aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-21 14:53:38 -0600
committermegamage <none@none>2009-03-21 14:53:38 -0600
commitde849cc5087e9a11ddff2f4e9ec42b1ec293cf2a (patch)
tree209f7f4bb8e6b4fde7dbd57305a1e797cc5010af /src/game/Spell.cpp
parent3b09489f880f13116ac285085982721ef60920cd (diff)
Small code cleanup and partial merge with dev branch Author: tomrus88
--HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 0a2dbe53485..1788240fddf 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -4867,7 +4867,7 @@ SpellCastResult Spell::CheckItems()
ItemPrototype const *proto = m_CastItem->GetProto();
if(!proto)
return SPELL_FAILED_ITEM_NOT_READY;
- for(int s=0;s < MAX_ITEM_PROTO_SPELLS; ++s)
+ for(int s=0; s < MAX_ITEM_PROTO_SPELLS; ++s)
{
// CastItem will be used up and does not count as reagent
int32 charges = m_CastItem->GetSpellCharges(s);