Removing ProgressBars as they are performing badly on startup.
[**************************************************] 100% R.I.P --HG-- branch : trunk
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
|
||||
#include "WeatherMgr.h"
|
||||
#include "Log.h"
|
||||
#include "ProgressBar.h"
|
||||
#include "ObjectMgr.h"
|
||||
|
||||
WeatherMgr::~WeatherMgr()
|
||||
@@ -85,19 +84,15 @@ void WeatherMgr::LoadWeatherData()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
barGoLink bar(1);
|
||||
bar.step();
|
||||
sLog.outErrorDb(">> Loaded 0 weather definitions. DB table `game_weather` is empty.");
|
||||
sLog.outString();
|
||||
return;
|
||||
}
|
||||
|
||||
barGoLink bar(result->GetRowCount());
|
||||
|
||||
do
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
bar.step();
|
||||
|
||||
uint32 zone_id = fields[0].GetUInt32();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user