*Some work on wintergrasp. Player can get ranks by killing other players and can build vehicles at workshop. Vehicles can be used to destroy buildings. Except these no other thing is done.
--HG-- branch : trunk
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "OutdoorPvPZM.h"
|
||||
#include "OutdoorPvPSI.h"
|
||||
#include "OutdoorPvPEP.h"
|
||||
#include "Wintergrasp.h"
|
||||
#include "Player.h"
|
||||
#include "Policies/SingletonImp.h"
|
||||
|
||||
@@ -125,6 +126,19 @@ void OutdoorPvPMgr::InitOutdoorPvP()
|
||||
m_OutdoorPvPSet.push_back(pOP);
|
||||
sLog.outDebug("OutdoorPvP : EP successfully initiated.");
|
||||
}
|
||||
|
||||
pOP = new OPvPWintergrasp;
|
||||
// respawn, init variables
|
||||
if(!pOP->SetupOutdoorPvP())
|
||||
{
|
||||
sLog.outDebug("OutdoorPvP : Wintergrasp init failed.");
|
||||
delete pOP;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_OutdoorPvPSet.push_back(pOP);
|
||||
sLog.outDebug("OutdoorPvP : Wintergrasp successfully initiated.");
|
||||
}
|
||||
}
|
||||
|
||||
void OutdoorPvPMgr::AddZone(uint32 zoneid, OutdoorPvP *handle)
|
||||
|
||||
Reference in New Issue
Block a user