Removing ProgressBars as they are performing badly on startup.
[**************************************************] 100% R.I.P --HG-- branch : trunk
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
#include "DatabaseEnv.h"
|
||||
#include "GridDefines.h"
|
||||
#include "WaypointManager.h"
|
||||
#include "ProgressBar.h"
|
||||
#include "MapManager.h"
|
||||
|
||||
void WaypointStore::Free()
|
||||
@@ -42,14 +41,11 @@ void WaypointStore::Load()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
barGoLink bar(1);
|
||||
bar.step();
|
||||
sLog.outErrorDb(">> Loaded 0 waypoints. DB table `waypoint_data` is empty!");
|
||||
sLog.outString();
|
||||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
uint32 count = 0;
|
||||
Field *fields;
|
||||
uint32 last_id = 0;
|
||||
@@ -59,7 +55,6 @@ void WaypointStore::Load()
|
||||
{
|
||||
fields = result->Fetch();
|
||||
uint32 id = fields[0].GetUInt32();
|
||||
bar.step();
|
||||
count++;
|
||||
WaypointData *wp = new WaypointData;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user