From 6115b0bd5f05b3e9986f2ff1e1d8f142a4538e7f Mon Sep 17 00:00:00 2001 From: leak Date: Wed, 22 Dec 2010 00:12:03 +0100 Subject: Removing ProgressBars as they are performing badly on startup. [**************************************************] 100% R.I.P --HG-- branch : trunk --- src/server/game/Scripting/ScriptSystem.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/server/game/Scripting/ScriptSystem.cpp') 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; -- cgit v1.2.3