Merge [SD2]
r1294 Let EscortAI fill waypoint list at Start(). Scripts using escortAI then no longer need to call FillPointMovementListForCreature(). r1295 Move one misplaced source file. --HG-- branch : trunk
This commit is contained in:
1 parent
32078e0624
commit
93709273ec
35 files changed
+52
-198
No files matched your search
@@ -345,6 +345,11 @@ void npc_escortAI::Start(bool bIsActiveAttacker, bool bRun, uint64 uiPlayerGUID,
|
||||
return;
|
||||
}
|
||||
|
||||
if (!WaypointList.empty())
|
||||
WaypointList.clear();
|
||||
|
||||
FillPointMovementListForCreature();
|
||||
|
||||
if (WaypointList.empty())
|
||||
{
|
||||
error_db_log("TSCR: EscortAI Start with 0 waypoints (possible missing entry in script_waypoint)");
|
||||
|
||||
Reference in new issue
Block a user