Battlefield: Make sBattlefieldMgr a pointer. By Subv.
This commit is contained in:
@@ -1729,6 +1729,10 @@ void World::SetInitialWorldSettings()
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, "Starting Outdoor PvP System");
|
||||
sOutdoorPvPMgr->InitOutdoorPvP();
|
||||
|
||||
///- Initialize Battlefield
|
||||
sLog->outString("Starting Battlefield System");
|
||||
sBattlefieldMgr->InitBattlefield();
|
||||
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, "Loading Transports...");
|
||||
sMapMgr->LoadTransports();
|
||||
|
||||
@@ -1993,6 +1997,9 @@ void World::Update(uint32 diff)
|
||||
sOutdoorPvPMgr->Update(diff);
|
||||
RecordTimeDiff("UpdateOutdoorPvPMgr");
|
||||
|
||||
sBattlefieldMgr->Update(diff);
|
||||
RecordTimeDiff("BattlefieldMgr");
|
||||
|
||||
///- Delete all characters which have been deleted X days before
|
||||
if (m_timers[WUPDATE_DELETECHARS].Passed())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user