Remove a hack-check. pQuest can NOT be NULL in an EscortAI.

--HG--
branch : trunk
This commit is contained in:
Anubisss
2009-12-19 13:38:30 +01:00
parent e13c23160f
commit f3987b72ae
-5
View File
@@ -453,15 +453,10 @@ void npc_escortAI::Start(bool bIsActiveAttacker, bool bRun, uint64 uiPlayerGUID,
} }
if (WaypointList.empty()) 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()); error_db_log("TSCR: EscortAI Start with 0 waypoints (possible missing entry in script_waypoint. Quest: %u).", pQuest->GetQuestId());
return; return;
} }
else
return;
}
//set variables //set variables
m_bIsActiveAttacker = bIsActiveAttacker; m_bIsActiveAttacker = bIsActiveAttacker;