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
+2 -7
View File
@@ -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