aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-08-13 21:24:56 +0200
committerQAston <none@none>2009-08-13 21:24:56 +0200
commite2374e8bdb358922760e6e14b2c4744c085d5dd1 (patch)
tree9e6f8da7c355e91a3883831b0cc83af0447663b1 /src/game/SpellEffects.cpp
parent25f81cdfcdfe42aafd9589f3c6f447141a321a2e (diff)
*Use m_caster as caster of triggered spell in EffectTriggerSpell handler.
*Correct stance check in handleShapeshiftBoosts - by Sarjuuk *Minor cleanup in Unit.cpp. --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 4106c13645f..c826c70900a 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -2178,7 +2178,7 @@ void Spell::EffectTriggerSpell(uint32 i)
&& m_spellInfo->Category == spellInfo->Category)
((Player*)m_caster)->RemoveSpellCooldown(spellInfo->Id);
- unitTarget->CastSpell(unitTarget,spellInfo,true,NULL,NULL,m_originalCasterGUID);
+ m_caster->CastSpell(unitTarget,spellInfo,true,NULL,NULL,m_originalCasterGUID);
}
void Spell::EffectTriggerMissileSpell(uint32 effect_idx)