aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-08 13:37:11 -0500
committermegamage <none@none>2009-04-08 13:37:11 -0500
commitce9211a5bc992acb0d0616066be9a1c7495889c0 (patch)
tree4c6a8940fe92e5ea73747b46709cd59610838f37 /src/game/Spell.cpp
parent74d553bc4caad3e35922463ec9d327c7fb741496 (diff)
*Fix build.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 857bf19ac31..4bb55ceee04 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -2225,7 +2225,7 @@ void Spell::cancel()
return;
SetReferencedFromCurrent(false);
- if(m_selfContainer)
+ if(m_selfContainer && *m_selfContainer == this)
*m_selfContainer = NULL;
uint32 oldState = m_spellState;