Core/AI: allow manually added escort waypoints to have run states specified

*turn waypoints of Raz the Crazed into run mode
This commit is contained in:
Ovahlord committed 2020-07-27 00:34:28 +02:00
1 parent 9f6a7f6671
commit 287fdc542f
3 files changed
+5 -5

No files matched your search

@@ -635,13 +635,13 @@ struct npc_raz_the_crazed : public EscortAI
void BuildRomoggPath()
{
for (uint8 i = 0; i < 12; i++)
AddWaypoint(i, RazPathRomogg[i].GetPositionX(), RazPathRomogg[i].GetPositionY(), RazPathRomogg[i].GetPositionZ());
AddWaypoint(i, RazPathRomogg[i].GetPositionX(), RazPathRomogg[i].GetPositionY(), RazPathRomogg[i].GetPositionZ(), 0.f, 0, true);
}
void BuildCorlaPath()
{
for (uint8 i = 0; i < 2; i++)
AddWaypoint(i, RazPathCorla[i].GetPositionX(), RazPathCorla[i].GetPositionY(), RazPathCorla[i].GetPositionZ());
AddWaypoint(i, RazPathCorla[i].GetPositionX(), RazPathCorla[i].GetPositionY(), RazPathCorla[i].GetPositionZ(), 0.f, 0, true);
}
void WaypointReached(uint32 id, uint32 /*pathId*/) override