Scripts: remove whitespaces

This commit is contained in:
MitchesD committed 2015-03-20 13:11:59 +01:00
1 parent c76bbd42e6
commit 3af363308a
1 file changed
+4 -4
+4 -4
View File
@@ -2426,11 +2426,11 @@ class spell_q12414_hand_over_reins : public SpellScriptLoader
{
public:
spell_q12414_hand_over_reins() : SpellScriptLoader("spell_q12414_hand_over_reins") { }
class spell_q12414_hand_over_reins_SpellScript : public SpellScript
{
PrepareSpellScript(spell_q12414_hand_over_reins_SpellScript);
void HandleScript(SpellEffIndex /*effIndex*/)
{
Creature* caster = GetCaster()->ToCreature();
@@ -2439,13 +2439,13 @@ class spell_q12414_hand_over_reins : public SpellScriptLoader
if (caster)
caster->DespawnOrUnsummon();
}
void Register() override
{
OnEffectHitTarget += SpellEffectFn(spell_q12414_hand_over_reins_SpellScript::HandleScript, EFFECT_1, SPELL_EFFECT_SCRIPT_EFFECT);
}
};
SpellScript* GetSpellScript() const override
{
return new spell_q12414_hand_over_reins_SpellScript();