Remove a hack-check. pQuest can NOT be NULL in an EscortAI.
--HG-- branch : trunk
This commit is contained in:
@@ -454,13 +454,8 @@ void npc_escortAI::Start(bool bIsActiveAttacker, bool bRun, uint64 uiPlayerGUID,
|
||||
|
||||
if (WaypointList.empty())
|
||||
{
|
||||
if (pQuest != NULL)
|
||||
{
|
||||
error_db_log("TSCR: EscortAI Start with 0 waypoints (possible missing entry in script_waypoint. Quest: %u).", pQuest->GetQuestId());
|
||||
return;
|
||||
}
|
||||
else
|
||||
return;
|
||||
error_db_log("TSCR: EscortAI Start with 0 waypoints (possible missing entry in script_waypoint. Quest: %u).", pQuest->GetQuestId());
|
||||
return;
|
||||
}
|
||||
|
||||
//set variables
|
||||
|
||||
Reference in New Issue
Block a user