Removing ProgressBars as they are performing badly on startup.

[**************************************************] 100%
R.I.P

--HG--
branch : trunk
This commit is contained in:
leak
2010-12-22 00:12:03 +01:00
parent a45a039e73
commit 6115b0bd5f
35 changed files with 94 additions and 824 deletions
-5
View File
@@ -19,7 +19,6 @@
#include "Common.h"
#include "DatabaseEnv.h"
#include "SQLStorage.h"
#include "ProgressBar.h"
#include "Log.h"
#include "TicketMgr.h"
#include "WorldPacket.h"
@@ -56,14 +55,11 @@ void TicketMgr::LoadGMTickets()
if (!result)
{
barGoLink bar(1);
bar.step();
sLog.outString(">> Loaded 0 GM tickets. DB table `gm_tickets` is empty!");
sLog.outString();
return;
}
barGoLink bar(result->GetRowCount());
uint32 count = 0;
do
@@ -90,7 +86,6 @@ void TicketMgr::LoadGMTickets()
ticket->escalated = fields[14].GetUInt8();
ticket->viewed = fields[15].GetBool();
++count;
bar.step();
m_GMTicketList.push_back(ticket);
} while (result->NextRow());