Core/AI: Some more refactoring prep for #19930. CreatureAI::EnterCombat is now called CreatureAI::JustEngagedWith. There's also two new methods on UnitAI, though they're never invoked right now.

This commit is contained in:
Aokromes committed 2018-01-01 16:02:22 +01:00
1 parent ca3c5dc02f
commit 46366373ab
441 files changed
+1004 -997

No files matched your search

+1 -1
View File
@@ -603,7 +603,7 @@ void SmartAI::JustReachedHome()
mJustReset = false;
}
void SmartAI::EnterCombat(Unit* enemy)
void SmartAI::JustEngagedWith(Unit* enemy)
{
if (IsAIControlled())
me->InterruptNonMeleeSpells(false); // must be before ProcessEvents