cb634e6fba followup

updates #18401
This commit is contained in:
ccrs authored and Aokromes committed 2017-01-07 07:36:00 +01:00
1 parent 17278b9b42
commit 047673175b
2 files changed
+6 -2

No files matched your search

+4 -1
View File
@@ -471,7 +471,10 @@ void SmartAI::MovementInform(uint32 MovementType, uint32 Data)
return;
if (MovementType == WAYPOINT_MOTION_TYPE || (MovementType == POINT_MOTION_TYPE && Data == SMART_ESCORT_LAST_OOC_POINT))
MovepointReached(Data);
{
if (Data < _path.size())
MovepointReached(_path.at(Data).id);
}
}
void SmartAI::EnterEvadeMode(EvadeReason /*why*/)