Core/AI: UnitAI trimming part two. WaypointX methods kicked upstairs to CreatureAI
Port From (https://github.com/TrinityCore/TrinityCore/commit/e0afca513a9bfbd82134942e1266e46811707cbb)
This commit is contained in:
@@ -59,8 +59,8 @@ namespace Game.Movement
|
||||
_nextMoveTime.Reset(1000);
|
||||
|
||||
// inform AI
|
||||
if (creature.GetAI() != null)
|
||||
creature.GetAI().WaypointPathStarted(1, _path.id);
|
||||
if (creature.IsAIEnabled)
|
||||
creature.GetAI().WaypointPathStarted(_path.id);
|
||||
}
|
||||
|
||||
public override void DoInitialize(Creature creature)
|
||||
|
||||
Reference in New Issue
Block a user