Fix compile under windows

This commit is contained in:
Spp
2012-08-03 15:54:54 +02:00
parent 55ce180f28
commit 634776e0bc
38 changed files with 334 additions and 334 deletions
@@ -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;
}