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 Naios
parent 86b0fcf67a
commit eda6254d47
2 changed files with 3 additions and 3 deletions

View File

@@ -332,7 +332,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;
}
@@ -366,7 +366,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)
{