aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/AI/EventAI
diff options
context:
space:
mode:
authorleak <none@none>2010-12-22 00:12:03 +0100
committerleak <none@none>2010-12-22 00:12:03 +0100
commit6115b0bd5f05b3e9986f2ff1e1d8f142a4538e7f (patch)
treec41d4dfbfbb9b7b2ee60aab652fb0f59d7641b6d /src/server/game/AI/EventAI
parenta45a039e736fb81aff6c2a4812561de220da62ec (diff)
Removing ProgressBars as they are performing badly on startup.
[**************************************************] 100% R.I.P --HG-- branch : trunk
Diffstat (limited to 'src/server/game/AI/EventAI')
-rwxr-xr-xsrc/server/game/AI/EventAI/CreatureEventAIMgr.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp b/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp
index d27c6f4b9ac..a835dace64a 100755
--- a/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp
+++ b/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp
@@ -22,7 +22,6 @@
#include "CreatureEventAI.h"
#include "CreatureEventAIMgr.h"
#include "ObjectMgr.h"
-#include "ProgressBar.h"
#include "ObjectDefines.h"
#include "GridDefines.h"
#include "ConditionMgr.h"
@@ -43,19 +42,15 @@ void CreatureEventAIMgr::LoadCreatureEventAI_Texts()
if (!result)
{
- barGoLink bar(1);
- bar.step();
sLog.outString(">> Loaded 0 additional CreatureEventAI Texts data. DB table `creature_ai_texts` is empty.");
sLog.outString();
return;
}
- barGoLink bar(result->GetRowCount());
uint32 count = 0;
do
{
- bar.step();
Field* fields = result->Fetch();
StringTextData temp;
@@ -119,19 +114,15 @@ void CreatureEventAIMgr::LoadCreatureEventAI_Summons()
if (!result)
{
- barGoLink bar(1);
- bar.step();
sLog.outString(">> Loaded 0 CreatureEventAI Summon definitions. DB table `creature_ai_summons` is empty.");
sLog.outString();
return;
}
- barGoLink bar(result->GetRowCount());
uint32 count = 0;
do
{
- bar.step();
Field *fields = result->Fetch();
CreatureEventAI_Summon temp;
@@ -177,19 +168,15 @@ void CreatureEventAIMgr::LoadCreatureEventAI_Scripts()
if (!result)
{
- barGoLink bar(1);
- bar.step();
sLog.outString(">> Loaded 0 CreatureEventAI scripts. DB table `creature_ai_scripts` is empty.");
sLog.outString();
return;
}
- barGoLink bar(result->GetRowCount());
uint32 count = 0;
do
{
- bar.step();
Field *fields = result->Fetch();
CreatureEventAI_Event temp;