Fix compile under windows
This commit is contained in:
@@ -209,7 +209,7 @@ void CreatureEventAIMgr::LoadCreatureEventAI_Scripts()
|
||||
sLog->outError(LOG_FILTER_SQL, "CreatureEventAI: Event %u has script for non-existing creature entry (%u), skipping.", i, creature_id);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
// Only on the first script
|
||||
if (cInfo->AIName != "EventAI" && m_CreatureEventAI_Event_Map[creature_id].empty())
|
||||
sLog->outError(LOG_FILTER_SQL, "Creature entry %u has EventAI scripts, but its AIName is not 'EventAI' - possible AI-mismatch?", temp.creature_id);
|
||||
|
||||
@@ -51,7 +51,7 @@ void SmartWaypointMgr::LoadFromDB()
|
||||
if (!result)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 SmartAI Waypoint Paths. DB table `waypoints` is empty.");
|
||||
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ void SmartWaypointMgr::LoadFromDB()
|
||||
while (result->NextRow());
|
||||
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u SmartAI waypoint paths (total %u waypoints) in %u ms", count, total, GetMSTimeDiffToNow(oldMSTime));
|
||||
|
||||
|
||||
}
|
||||
|
||||
SmartWaypointMgr::~SmartWaypointMgr()
|
||||
@@ -118,7 +118,7 @@ void SmartAIMgr::LoadSmartAIFromDB()
|
||||
if (!result)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 SmartAI scripts. DB table `smartai_scripts` is empty.");
|
||||
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user