Scripts: Add missing overrides.

(cherry picked from commit aac868a6d9)
This commit is contained in:
Gacko
2016-04-18 23:52:39 +02:00
committed by Aokromes
parent 6ca223187b
commit bba08ed29c
2 changed files with 3 additions and 3 deletions

View File

@@ -333,7 +333,7 @@ public:
OnEffectHit += SpellEffectFn(spell_gluth_decimate_SpellScript::HandleEvent, EFFECT_2, SPELL_EFFECT_SEND_EVENT);
}
bool Load()
bool Load() override
{
return GetCaster() && GetCaster()->GetEntry() == NPC_GLUTH;
}
@@ -367,7 +367,7 @@ public:
AfterHit += SpellHitFn(spell_gluth_zombiechow_search_SpellScript::HealForEachTargetHit);
}
bool Load()
bool Load() override
{
return GetCaster() && GetCaster()->GetEntry() == NPC_GLUTH;
}

View File

@@ -81,7 +81,7 @@ public:
}
}
void SetGuidData(uint32 data, ObjectGuid guid)
void SetGuidData(uint32 data, ObjectGuid guid) override
{
switch (data)
{