Core/AI: UnitAI.h trimming part two. WaypointX methods kicked upstairs to CreatureAI.h.
This commit is contained in:
1 parent
85884c49bf
commit
2cc36c5eec
5 files changed
+16
-13
No files matched your search
@@ -417,11 +417,12 @@ bool SmartAI::IsEscortInvokerInRange()
|
||||
}
|
||||
|
||||
///@todo move escort related logic
|
||||
void SmartAI::WaypointPathStarted(uint32 nodeId, uint32 pathId)
|
||||
void SmartAI::WaypointPathStarted(uint32 pathId)
|
||||
{
|
||||
if (!HasEscortState(SMART_ESCORT_ESCORTING))
|
||||
{
|
||||
GetScript()->ProcessEventsFor(SMART_EVENT_WAYPOINT_START, nullptr, nodeId, pathId);
|
||||
// @todo remove the constant 1 at some point, it's never anything different
|
||||
GetScript()->ProcessEventsFor(SMART_EVENT_WAYPOINT_START, nullptr, 1, pathId);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user