aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellHandler.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-05 17:31:12 -0500
committermegamage <none@none>2009-04-05 17:31:12 -0500
commite00106db5511f8a428c7b40df7e5f310bcefda16 (patch)
tree9bb07f021a113db05f897fa95e117ca206c5a163 /src/game/SpellHandler.cpp
parentfef43ddbe7c498be7d154926a88f09c2534f8d48 (diff)
*Always delink spell and container when spell is cancelled.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellHandler.cpp')
-rw-r--r--src/game/SpellHandler.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game/SpellHandler.cpp b/src/game/SpellHandler.cpp
index c4bbfe88be4..3da05d37f3d 100644
--- a/src/game/SpellHandler.cpp
+++ b/src/game/SpellHandler.cpp
@@ -392,8 +392,6 @@ void WorldSession::HandleCancelAuraOpcode( WorldPacket& recvPacket)
if(spell->m_spellInfo->Id==spellId)
{
spell->cancel();
- spell->SetReferencedFromCurrent(false);
- _player->m_currentSpells[CURRENT_CHANNELED_SPELL] = NULL;
}
}
return;