Remove a hack-check. pQuest can NOT be NULL in an EscortAI.
--HG-- branch : trunk
This commit is contained in:
@@ -453,15 +453,10 @@ 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;
|
||||
}
|
||||
|
||||
//set variables
|
||||
m_bIsActiveAttacker = bIsActiveAttacker;
|
||||
|
||||
Reference in New Issue
Block a user