aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/AI
diff options
context:
space:
mode:
authorSpp <spp@jorge.gr>2012-08-03 15:54:54 +0200
committerSpp <spp@jorge.gr>2012-08-03 15:54:54 +0200
commit634776e0bcc90e610a3f736e8ddf75792ad9b73e (patch)
treefbe98d997a68f99062eed13070c707a8a4b5e76d /src/server/game/AI
parent55ce180f2867700b28921d99f9a0cb9c83330c91 (diff)
Fix compile under windows
Diffstat (limited to 'src/server/game/AI')
-rwxr-xr-xsrc/server/game/AI/EventAI/CreatureEventAIMgr.cpp2
-rw-r--r--src/server/game/AI/SmartScripts/SmartScriptMgr.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp b/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp
index 2d7c64bf5df..7289a4eed28 100755
--- a/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp
+++ b/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp
@@ -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);
diff --git a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp
index 1723e96a08a..7a997609b5d 100644
--- a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp
+++ b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp
@@ -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;
}