Scripts/Spells: Remove a not needed cast in spell_q12372_cast_from_gossip_trigger

This commit is contained in:
Nay
2012-08-27 14:29:00 +01:00
parent 846fc6a7fd
commit f8c01739df

View File

@@ -1261,9 +1261,9 @@ class spell_q12372_cast_from_gossip_trigger : public SpellScriptLoader
void HandleScript(SpellEffIndex /*effIndex*/)
{
Player* caster = GetCaster()->ToPlayer();
caster->CastSpell(caster, SPELL_SUMMON_WYRMREST_DEFENDER, true);
GetCaster()->CastSpell(caster, SPELL_SUMMON_WYRMREST_DEFENDER, true);
}
void Register()
{
OnEffectHitTarget += SpellEffectFn(spell_q12372_cast_from_gossip_trigger_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT);