diff --git a/Source/Game/AI/CoreAI/CreatureAI.cs b/Source/Game/AI/CoreAI/CreatureAI.cs index 0016984a0..fc3fb8e49 100644 --- a/Source/Game/AI/CoreAI/CreatureAI.cs +++ b/Source/Game/AI/CoreAI/CreatureAI.cs @@ -546,8 +546,6 @@ namespace Game.AI /// == Waypoints system ============================= /// - public virtual void WaypointPathStarted(uint pathId) { } - public virtual void WaypointStarted(uint nodeId, uint pathId) { } public virtual void WaypointReached(uint nodeId, uint pathId) { } diff --git a/Source/Game/AI/SmartScripts/SmartAI.cs b/Source/Game/AI/SmartScripts/SmartAI.cs index e185e5dd7..005b0aca0 100644 --- a/Source/Game/AI/SmartScripts/SmartAI.cs +++ b/Source/Game/AI/SmartScripts/SmartAI.cs @@ -390,11 +390,6 @@ namespace Game.AI return true; } - public override void WaypointPathStarted(uint pathId) - { - // SmartAI::WaypointStarted() already handles the case of starting the 1st waypoint - } - public override void WaypointStarted(uint nodeId, uint pathId) { GetScript().ProcessEventsFor(SmartEvents.WaypointStart, null, nodeId, pathId); diff --git a/Source/Game/Movement/Generators/WaypointMovement.cs b/Source/Game/Movement/Generators/WaypointMovement.cs index e981fb6bc..ce84cb1d3 100644 --- a/Source/Game/Movement/Generators/WaypointMovement.cs +++ b/Source/Game/Movement/Generators/WaypointMovement.cs @@ -119,11 +119,6 @@ namespace Game.Movement owner.StopMoving(); _nextMoveTime.Reset(1000); - - // inform AI - CreatureAI ai = owner.GetAI(); - if (ai != null) - ai.WaypointPathStarted(_path.id); } public override void DoReset(Creature owner)