diff options
| author | QAston <none@none> | 2009-06-24 00:12:09 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-06-24 00:12:09 +0200 |
| commit | 0a7691083d5f6109ca0cd0b336b15052ca5cfba4 (patch) | |
| tree | ec1648e071060bccee3328c4b0d0ec575bed4d5d /src/game/SpellEffects.cpp | |
| parent | d6a3770597f63dadc094a16ef33d27533876c3c6 (diff) | |
*Fix the bug that player gets dismounted during taxi flights with many flymasters.
*Mana feed now gives pet mana during Drain Mana spell.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
| -rw-r--r-- | src/game/SpellEffects.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 6b453a3a6c9..cdc82d09587 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -1493,7 +1493,10 @@ void Spell::EffectDummy(uint32 i) for(Unit::AuraEffectList::const_iterator itr = mod.begin(); itr != mod.end(); ++itr) { if((*itr)->GetSpellProto()->SpellFamilyName==SPELLFAMILY_WARLOCK && (*itr)->GetSpellProto()->SpellIconID == 1982) - manaFeedVal+= (*itr)->GetAmount(); + { + manaFeedVal = (*itr)->GetAmount(); + break; + } } if(manaFeedVal > 0) { |
