mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-28 12:52:25 +01:00
*Only clear spellcontainer when current spell is cancelled spell.
--HG-- branch : trunk
This commit is contained in:
@@ -2134,7 +2134,7 @@ void Spell::cancel()
|
||||
return;
|
||||
|
||||
SetReferencedFromCurrent(false);
|
||||
if(m_selfContainer)
|
||||
if(m_selfContainer && *m_selfContainer == this)
|
||||
*m_selfContainer = NULL;
|
||||
|
||||
uint32 oldState = m_spellState;
|
||||
|
||||
Reference in New Issue
Block a user