aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-03-21 19:33:10 +0100
committerQAston <none@none>2009-03-21 19:33:10 +0100
commit5eda38d76a53b770698d53949324813a532c6473 (patch)
tree4f44bf753c429695746a7ec3befba0fdbf421500 /src/game/SpellEffects.cpp
parent5d8ef964cb89cf7f7da6fe56af0e7d090e8e1200 (diff)
*Merge EAIchnges from SD2.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 0a1b764a4d1..48555e6a0a4 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -1623,7 +1623,8 @@ void Spell::EffectDummy(uint32 i)
// Divine Storm
if (m_spellInfo->SpellFamilyFlags[1] & 0x20000)
{
- m_caster->CastCustomSpell(unitTarget, 54172, m_currentBasePoints[0] * damage /100, 0, 0, true);
+ int32 damage=m_currentBasePoints[0] * damage /100;
+ m_caster->CastCustomSpell(unitTarget, 54172, &damage , 0, 0, true);
return;
}
case 156: // Holy Shock