Core/Movement: remove redundant method MovementGenerator::NotifyAIOnFinalize and use existing Finalize - MovementInform implementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/0e0deaefd4e84c8069f6249778774f605fc5e628)
This commit is contained in:
@@ -118,7 +118,7 @@ namespace Game.AI
|
||||
me.SetControlled(true, UnitState.Fleeing);
|
||||
}
|
||||
|
||||
public override void OnMovementGeneratorFinalized(MovementGeneratorType type)
|
||||
public override void MovementInform(MovementGeneratorType type, uint id)
|
||||
{
|
||||
if (type == MovementGeneratorType.TimedFleeing)
|
||||
EnterEvadeMode(EvadeReason.Other);
|
||||
|
||||
Reference in New Issue
Block a user