Core/Misc: waypoint movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/bf12bae46746149d870cd3e52ccd610f0a975047)
This commit is contained in:
@@ -3189,7 +3189,7 @@ namespace Game.AI
|
||||
case SmartEvents.WaypointStopped:
|
||||
case SmartEvents.WaypointEnded:
|
||||
{
|
||||
if (me == null || (e.Event.waypoint.pointID != 0 && var0 != e.Event.waypoint.pointID) || (e.Event.waypoint.pathID != 0 && GetPathId() != e.Event.waypoint.pathID))
|
||||
if (me == null || (e.Event.waypoint.pointID != 0 && var0 != e.Event.waypoint.pointID) || (e.Event.waypoint.pathID != 0 && var1 != e.Event.waypoint.pathID))
|
||||
return;
|
||||
ProcessAction(e, unit);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user