[12100] Finalize Outdoor PvP Implementation

Implementation by Xfurry and stfx

Thanks to all original Outdoor PvP authors - especially Balrok
Thanks to X-Savior for the proper data
Thanks to crackm for help with database

And thanks to all people who contributed and/or posted bug reports

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
stfx 2012-08-18 00:12:31 +02:00 committed by Antz
parent 59c3a02eb6
commit 088ed3ff69
2 changed files with 7 additions and 1 deletions

View file

@ -50,6 +50,7 @@
#include "CreatureAIRegistry.h"
#include "Policies/SingletonImp.h"
#include "BattleGroundMgr.h"
#include "OutdoorPvP/OutdoorPvP.h"
#include "TemporarySummon.h"
#include "VMapFactory.h"
#include "MoveMap.h"
@ -1370,6 +1371,10 @@ void World::SetInitialWorldSettings()
sBattleGroundMgr.CreateInitialBattleGrounds();
sBattleGroundMgr.InitAutomaticArenaPointDistribution();
///- Initialize Outdoor PvP
sLog.outString("Starting Outdoor PvP System");
sOutdoorPvPMgr.InitOutdoorPvP();
// Not sure if this can be moved up in the sequence (with static data loading) as it uses MapManager
sLog.outString("Loading Transports...");
sMapMgr.LoadTransports();
@ -1538,6 +1543,7 @@ void World::Update(uint32 diff)
///- Update objects (maps, transport, creatures,...)
sMapMgr.Update(diff);
sBattleGroundMgr.Update(diff);
sOutdoorPvPMgr.Update(diff);
///- Delete all characters which have been deleted X days before
if (m_timers[WUPDATE_DELETECHARS].Passed())