*Only clear spellcontainer when current spell is cancelled spell.
--HG-- branch : trunk
This commit is contained in:
1 parent
2ebeb198ad
commit
73ec2d50fa
1 file changed
+1
-1
+1
-1
@@ -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