aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-06-29 20:50:38 +0200
committerQAston <none@none>2009-06-29 20:50:38 +0200
commit8609527066dfa0a3999e88851645473f2df772ea (patch)
tree548d245f3f34fa0329033703811ea3fef90778f3 /src/game/Player.cpp
parent40679890962457c6c85adad6b93f5f6bda73a635 (diff)
*Fix the issue of water elemental GCD preventing freeze to be casted - by Larva
*Correct a typo in prev commit. --HG-- branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 53add222819..0a90f721899 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -17316,7 +17316,7 @@ void Player::SetSpellModTakingSpell(Spell * spell, bool apply)
if (!spell || (m_spellModTakingSpell && m_spellModTakingSpell != spell))
return;
- if (apply && spell->m_spellState == SPELL_STATE_FINISHED)
+ if (apply && spell->getState() == SPELL_STATE_FINISHED)
return;
if (apply)