diff options
author | leak <none@none> | 2010-12-22 00:12:03 +0100 |
---|---|---|
committer | leak <none@none> | 2010-12-22 00:12:03 +0100 |
commit | 6115b0bd5f05b3e9986f2ff1e1d8f142a4538e7f (patch) | |
tree | c41d4dfbfbb9b7b2ee60aab652fb0f59d7641b6d /src/server/game/Scripting/ScriptSystem.cpp | |
parent | a45a039e736fb81aff6c2a4812561de220da62ec (diff) |
Removing ProgressBars as they are performing badly on startup.
[**************************************************] 100%
R.I.P
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Scripting/ScriptSystem.cpp')
-rwxr-xr-x | src/server/game/Scripting/ScriptSystem.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/server/game/Scripting/ScriptSystem.cpp b/src/server/game/Scripting/ScriptSystem.cpp index 6a2748a38a3..590ff3e9ed3 100755 --- a/src/server/game/Scripting/ScriptSystem.cpp +++ b/src/server/game/Scripting/ScriptSystem.cpp @@ -18,7 +18,6 @@ #include "ScriptPCH.h" #include "ScriptSystem.h" -#include "ProgressBar.h" #include "ObjectMgr.h" #include "DatabaseEnv.h" @@ -63,19 +62,15 @@ void SystemMgr::LoadScriptTexts() if (!result) { - barGoLink bar(1); - bar.step(); sLog.outString(">> Loaded 0 additional Script Texts data. DB table `script_texts` is empty."); sLog.outString(); return; } - barGoLink bar(result->GetRowCount()); uint32 uiCount = 0; do { - bar.step(); Field* pFields = result->Fetch(); StringTextData pTemp; @@ -128,19 +123,15 @@ void SystemMgr::LoadScriptTextsCustom() if (!result) { - barGoLink bar(1); - bar.step(); sLog.outString(">> Loaded 0 additional Custom Texts data. DB table `custom_texts` is empty."); sLog.outString(); return; } - barGoLink bar(result->GetRowCount()); uint32 uiCount = 0; do { - bar.step(); Field* pFields = result->Fetch(); StringTextData pTemp; @@ -202,19 +193,15 @@ void SystemMgr::LoadScriptWaypoints() if (!result) { - barGoLink bar(1); - bar.step(); sLog.outString(">> Loaded 0 Script Waypoints. DB table `script_waypoint` is empty."); sLog.outString(); return; } - barGoLink bar(result->GetRowCount()); uint32 count = 0; do { - bar.step(); Field* pFields = result->Fetch(); ScriptPointMove pTemp; |