Core/Scripts: Add two missing overrides

This commit is contained in:
Carbenium
2017-08-30 00:21:11 +02:00
committed by Ovahlord
parent 66fe69f98c
commit 64ed5c07fe

View File

@@ -160,7 +160,7 @@ struct boss_kalecgos : public BossAI
events.ScheduleEvent(EVENT_CHECK_TIMER, Seconds(1));
}
void EnterEvadeMode(EvadeReason /*why*/)
void EnterEvadeMode(EvadeReason /*why*/) override
{
if (events.IsInPhase(PHASE_OUTRO))
return;
@@ -467,7 +467,7 @@ struct boss_sathrovarr : public BossAI
Talk(SAY_SATH_AGGRO);
}
void EnterEvadeMode(EvadeReason why)
void EnterEvadeMode(EvadeReason why) override
{
if (Creature* kalecgos = instance->GetCreature(DATA_KALECGOS_DRAGON))
kalecgos->AI()->EnterEvadeMode(why);