aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/Deadmines
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2017-12-31 03:23:42 +0100
committerShauren <shauren.trinity@gmail.com>2021-04-16 20:22:13 +0200
commitbce43de7f3fba618c370f2aba327d23dd30d1cdd (patch)
tree85b786bfa8f5103aaafa0ec01e93b337c29d4a15 /src/server/scripts/EasternKingdoms/Deadmines
parent8eb3c61f1aea5610cf68fb622f41850d2b934c51 (diff)
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.
(cherry picked from commit 6113b9dec2e0081c36c36c2974a28ed0693bc601)
Diffstat (limited to 'src/server/scripts/EasternKingdoms/Deadmines')
-rw-r--r--src/server/scripts/EasternKingdoms/Deadmines/boss_mr_smite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/EasternKingdoms/Deadmines/boss_mr_smite.cpp b/src/server/scripts/EasternKingdoms/Deadmines/boss_mr_smite.cpp
index 5c62115ffdd..0507c594dfc 100644
--- a/src/server/scripts/EasternKingdoms/Deadmines/boss_mr_smite.cpp
+++ b/src/server/scripts/EasternKingdoms/Deadmines/boss_mr_smite.cpp
@@ -90,7 +90,7 @@ public:
SetEquipmentSlots(false, EQUIP_SWORD, EQUIP_UNEQUIP, EQUIP_NO_CHANGE);
}
- void EnterCombat(Unit* /*who*/) override
+ void JustEngagedWith(Unit* /*who*/) override
{
Talk(SAY_AGGRO);
}