diff options
Diffstat (limited to 'src/server/game/AI/SmartScripts')
| -rw-r--r-- | src/server/game/AI/SmartScripts/SmartAI.cpp | 1 | ||||
| -rw-r--r-- | src/server/game/AI/SmartScripts/SmartScript.cpp | 1 | ||||
| -rw-r--r-- | src/server/game/AI/SmartScripts/SmartScriptMgr.cpp | 9 |
3 files changed, 0 insertions, 11 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartAI.cpp b/src/server/game/AI/SmartScripts/SmartAI.cpp index c9124e20d2a..2077ffc611f 100644 --- a/src/server/game/AI/SmartScripts/SmartAI.cpp +++ b/src/server/game/AI/SmartScripts/SmartAI.cpp @@ -19,7 +19,6 @@ #include "DatabaseEnv.h" #include "SQLStorage.h" #include "ObjectMgr.h" -#include "ProgressBar.h" #include "ObjectDefines.h" #include "GridDefines.h" #include "GridNotifiers.h" diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp index 649a83aeb36..32498806588 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -19,7 +19,6 @@ #include "DatabaseEnv.h" #include "SQLStorage.h" #include "ObjectMgr.h" -#include "ProgressBar.h" #include "ObjectDefines.h" #include "GridDefines.h" #include "GridNotifiers.h" diff --git a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp index ea993aa8480..f827948818c 100644 --- a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp +++ b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp @@ -19,7 +19,6 @@ #include "DatabaseEnv.h" #include "SQLStorage.h" #include "ObjectMgr.h" -#include "ProgressBar.h" #include "ObjectDefines.h" #include "GridDefines.h" #include "GridNotifiers.h" @@ -43,14 +42,11 @@ void SmartWaypointMgr::LoadFromDB() if (!result) { - barGoLink bar(1); - bar.step(); sLog.outString(">> Loaded 0 SmartAI Waypoint Paths. DB table `waypoints` is empty."); sLog.outString(); return; } - barGoLink bar(result->GetRowCount()); uint32 count = 0; uint32 total = 0; WPPath* path = NULL; @@ -59,7 +55,6 @@ void SmartWaypointMgr::LoadFromDB() do { - bar.step(); Field *fields = result->Fetch(); uint32 entry = fields[0].GetUInt32(); uint32 id = fields[1].GetUInt32(); @@ -109,19 +104,15 @@ void SmartAIMgr::LoadSmartAIFromDB() if (!result) { - barGoLink bar(1); - bar.step(); sLog.outString(">> Loaded 0 SmartAI scripts. DB table `smartai_scripts` is empty."); sLog.outString(); return; } - barGoLink bar(result->GetRowCount()); uint32 count = 0; do { - bar.step(); Field* fields = result->Fetch(); SmartScriptHolder temp; |
