aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-03-02 23:37:24 +0100
committerQAston <none@none>2009-03-02 23:37:24 +0100
commit1ebade03d51b2f6aa1bde099776f477b93c4e89e (patch)
treeae0e389e0ae2dba970352ff70f44d98051127b6b /src/game/Spell.cpp
parent352df954f6e1a8542118e8108928ea5fe268f431 (diff)
*Fix crash.
*Prevent applying cast time mod for spell twice. --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 e4d57801161..b753b957fda 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -2289,7 +2289,7 @@ void Spell::handle_immediate()
if (duration)
{
//apply haste mods
- m_caster->ModSpellCastTime(m_spellInfo, duration);
+ m_caster->ModSpellCastTime(m_spellInfo, duration, this);
// Apply duration mod
if(Player* modOwner = m_caster->GetSpellModOwner())
modOwner->ApplySpellMod(m_spellInfo->Id, SPELLMOD_DURATION, duration);