diff options
author | joschiwald <joschiwald.trinity@gmail.com> | 2014-12-29 01:32:55 +0100 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2014-12-29 01:32:55 +0100 |
commit | e8f97ec80a0ca0a1cf55aa5e2a2fd9a43ec19766 (patch) | |
tree | e148896e0d846bcc49f13fffa5e4db75fd87192b /src/server/game/Spells/SpellEffects.cpp | |
parent | 9ecc578cb187cc1ae0fd454883dab0cd058d3807 (diff) |
Core: fixed typos from previous commit and kill more warnings
Diffstat (limited to 'src/server/game/Spells/SpellEffects.cpp')
-rw-r--r-- | src/server/game/Spells/SpellEffects.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index 039bd5784d5..812055e18d4 100644 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -912,7 +912,7 @@ void Spell::EffectTriggerRitualOfSummoning(SpellEffIndex /*effIndex*/) m_caster->CastSpell((Unit*)NULL, spellInfo, false); } -void Spell::EffectJump(SpellEffIndex effIndex) +void Spell::EffectJump(SpellEffIndex /*effIndex*/) { if (effectHandleMode != SPELL_EFFECT_HANDLE_LAUNCH_TARGET) return; @@ -931,7 +931,7 @@ void Spell::EffectJump(SpellEffIndex effIndex) m_caster->GetMotionMaster()->MoveJump(x, y, z, speedXY, speedZ); } -void Spell::EffectJumpDest(SpellEffIndex effIndex) +void Spell::EffectJumpDest(SpellEffIndex /*effIndex*/) { if (effectHandleMode != SPELL_EFFECT_HANDLE_LAUNCH) return; @@ -5641,7 +5641,7 @@ void Spell::EffectRechargeManaGem(SpellEffIndex /*effIndex*/) if (Item* pItem = player->GetItemByEntry(item_id)) { - for (int x = 0; x < pProto->Effects.size(); ++x) + for (size_t x = 0; x < pProto->Effects.size(); ++x) pItem->SetSpellCharges(x, pProto->Effects[x].Charges); pItem->SetState(ITEM_CHANGED, player); } |