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/Pools/PoolMgr.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/Pools/PoolMgr.cpp')
-rwxr-xr-x | src/server/game/Pools/PoolMgr.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/server/game/Pools/PoolMgr.cpp b/src/server/game/Pools/PoolMgr.cpp index 1a9a9c38eeb..603127e0852 100755 --- a/src/server/game/Pools/PoolMgr.cpp +++ b/src/server/game/Pools/PoolMgr.cpp @@ -18,7 +18,6 @@ #include "PoolMgr.h" #include "ObjectMgr.h" -#include "ProgressBar.h" #include "Log.h" #include "MapManager.h" @@ -571,13 +570,11 @@ void PoolMgr::LoadFromDB() uint32 count = 0; - barGoLink bar(result->GetRowCount()); do { ++count; Field *fields = result->Fetch(); - bar.step(); uint32 pool_id = fields[0].GetUInt32(); @@ -602,20 +599,16 @@ void PoolMgr::LoadFromDB() count = 0; if (!result) { - barGoLink bar2(1); - bar2.step(); sLog.outString(">> Loaded 0 creatures in pools. DB table `pool_creature` is empty."); sLog.outString(); } else { - barGoLink bar2(result->GetRowCount()); do { Field *fields = result->Fetch(); - bar2.step(); uint32 guid = fields[0].GetUInt32(); uint32 pool_id = fields[1].GetUInt32(); @@ -666,20 +659,16 @@ void PoolMgr::LoadFromDB() count = 0; if (!result) { - barGoLink bar2(1); - bar2.step(); sLog.outString(">> Loaded 0 gameobjects in pools. DB table `pool_gameobject` is empty."); sLog.outString(); } else { - barGoLink bar2(result->GetRowCount()); do { Field *fields = result->Fetch(); - bar2.step(); uint32 guid = fields[0].GetUInt32(); uint32 pool_id = fields[1].GetUInt32(); @@ -738,20 +727,16 @@ void PoolMgr::LoadFromDB() count = 0; if (!result) { - barGoLink bar2(1); - bar2.step(); sLog.outString(">> Loaded 0 pools in pools"); sLog.outString(); } else { - barGoLink bar2(result->GetRowCount()); do { Field *fields = result->Fetch(); - bar2.step(); uint32 child_pool_id = fields[0].GetUInt32(); uint32 mother_pool_id = fields[1].GetUInt32(); @@ -832,14 +817,11 @@ void PoolMgr::LoadQuestPools() uint32 count = 0; if (!result) { - barGoLink bar(1); - bar.step(); sLog.outString(">> Loaded 0 quests in pools"); sLog.outString(); return; } - barGoLink bar(result->GetRowCount()); PooledQuestRelationBounds creBounds; PooledQuestRelationBounds goBounds; @@ -854,7 +836,6 @@ void PoolMgr::LoadQuestPools() do { - bar.step(); Field* fields = result->Fetch(); |