mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
oops, that wasn't supposed to remain there (0e7c66c follow-up)
This commit is contained in:
@@ -126,7 +126,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*/) { }
|
||||
|
||||
Reference in New Issue
Block a user