aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Pools/PoolMgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Pools/PoolMgr.cpp')
-rwxr-xr-xsrc/server/game/Pools/PoolMgr.cpp19
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();