Scripted: Add some missing override

This commit is contained in:
Vincent-Michael committed 2013-07-15 15:14:01 +02:00
1 parent 9e9bdd77c5
commit de193fc80d
47 files changed
+366 -366

No files matched your search

+3 -3
View File
@@ -831,13 +831,13 @@ class spell_pal_sacred_shield : public SpellScriptLoader
return SPELL_CAST_OK;
}
void Register()
void Register() OVERRIDE
{
OnCheckCast += SpellCheckCastFn(spell_pal_sacred_shield_SpellScript::CheckCast);
}
};
SpellScript* GetSpellScript() const
SpellScript* GetSpellScript() const OVERRIDE
{
return new spell_pal_sacred_shield_SpellScript();
}
@@ -862,7 +862,7 @@ class spell_pal_templar_s_verdict : public SpellScriptLoader
return true;
}
bool Load()
bool Load() OVERRIDE
{
if (GetCaster()->GetTypeId() != TYPEID_PLAYER)
return false;