*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
This commit is contained in:
QAston committed 2009-08-13 21:24:56 +02:00
1 parent 25f81cdfcd
commit e2374e8bdb
5 files changed
+51 -258

No files matched your search

+1 -1
View File
@@ -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)