Core/AI: UnitAI.h trimming part two. WaypointX methods kicked upstairs to CreatureAI.h.

This commit is contained in:
Treeston authored and Ovahlord committed 2020-07-22 15:11:26 +02:00
1 parent 85884c49bf
commit 2cc36c5eec
5 files changed
+16 -13

No files matched your search

+3 -2
View File
@@ -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;
}
}