diff --git a/src/game/World.cpp b/src/game/World.cpp index 251e811cd..58e913010 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -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()) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index c7eb86ff3..fa69a2e6e 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "12099" + #define REVISION_NR "12100" #endif // __REVISION_NR_H__