Core/Scripts: Add two missing overrides

This commit is contained in:
Carbenium authored and Ovahlord committed 2020-07-22 14:56:28 +02:00
1 parent 66fe69f98c
commit 64ed5c07fe
1 file changed
+2 -2
@@ -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);