diff options
author | Treeston <treeston.mmoc@gmail.com> | 2019-07-21 20:27:54 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-17 00:29:21 +0100 |
commit | c6834a1de6a346c1a87f9da33453b06a8c9bd343 (patch) | |
tree | d9876bf440d7e2e49ff087f03dda55c057a4696e /src | |
parent | 3a0d7364f21c7b75534972e439a4732449849bcb (diff) |
oops, that wasn't supposed to remain there (0e7c66c follow-up)
(cherry picked from commit 81fcd2e2d5cbbb884baea7088d9bf1533ba01f15)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/AI/CreatureAI.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/CreatureAI.h b/src/server/game/AI/CreatureAI.h index eef2cc0bd6b..db0ccecac07 100644 --- a/src/server/game/AI/CreatureAI.h +++ b/src/server/game/AI/CreatureAI.h @@ -109,7 +109,7 @@ class TC_GAME_API CreatureAI : public UnitAI virtual void JustEngagedWith(Unit* /*who*/) { } // Called when the creature is killed - virtual void JustDied(Unit* /*killer*/) { if (IsEngaged()) EngagementOver(); } + virtual void JustDied(Unit* /*killer*/) { } // Called when the creature kills a unit virtual void KilledUnit(Unit* /*victim*/) { } |