Scripts/Misc: Add missing override

This commit is contained in:
Aokromes committed 2016-07-25 15:49:08 +02:00
1 parent 9dac2dbca9
commit ed8b9fe1c4
4 files changed
+28 -28

No files matched your search

+3 -3
View File
@@ -1119,7 +1119,7 @@ class spell_pal_shield_of_the_righteous : public SpellScriptLoader
{
PrepareSpellScript(spell_pal_shield_of_the_righteous_SpellScript);
bool Load()
bool Load() override
{
if (GetCaster()->GetTypeId() != TYPEID_PLAYER)
return false;
@@ -1145,13 +1145,13 @@ class spell_pal_shield_of_the_righteous : public SpellScriptLoader
SetHitDamage(damage);
}
void Register()
void Register() override
{
OnEffectHitTarget += SpellEffectFn(spell_pal_shield_of_the_righteous_SpellScript::ChangeDamage, EFFECT_0, SPELL_EFFECT_SCHOOL_DAMAGE);
}
};
SpellScript* GetSpellScript() const
SpellScript* GetSpellScript() const override
{
return new spell_pal_shield_of_the_righteous_SpellScript();
}