Core/Spells: Now you can cast the Water Elemental's Freeze without cancelling its Waterbolt.

Author: dr.tenma

Fixes issue #4215

--HG--
branch : trunk
This commit is contained in:
_manuel_
2010-10-22 17:22:38 -03:00
parent dc9708d09f
commit 3ee05b26ce
3 changed files with 18 additions and 14 deletions
@@ -760,7 +760,7 @@ void WorldSession::HandlePetCastSpellOpcode(WorldPacket& recvPacket)
caster->clearUnitState(UNIT_STAT_FOLLOW);
Spell *spell = new Spell(caster, spellInfo, false); // water elemental can cast freeze as triggered
Spell *spell = new Spell(caster, spellInfo, false);
spell->m_cast_count = castCount; // probably pending spell cast
spell->m_targets = targets;