diff options
| author | megamage <none@none> | 2009-04-08 12:36:01 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-04-08 12:36:01 -0500 |
| commit | 73ec2d50fab29032ec3ed3a5e9a0e497e97e5716 (patch) | |
| tree | 8ab11dcdc48aa56b8c2d977744f327c440b49b28 | |
| parent | 2ebeb198add74c6d4bf73bf687e7e747355dbfe3 (diff) | |
*Only clear spellcontainer when current spell is cancelled spell.
--HG--
branch : trunk
| -rw-r--r-- | src/game/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index e8a5724dfb0..4396c2f94f1 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -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; |
