diff options
| author | megamage <none@none> | 2009-05-22 10:29:48 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-05-22 10:29:48 -0500 |
| commit | ab5b273d3cc02f9db39864b39c55a619dc0a88e6 (patch) | |
| tree | 0a4c70cceda85c10e754ef70abb0b111c274ec26 /src/game/OutdoorPvPMgr.cpp | |
| parent | 4ba955c4ebe1c91ac1b40246d148d34bd7680b09 (diff) | |
*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
Diffstat (limited to 'src/game/OutdoorPvPMgr.cpp')
| -rw-r--r-- | src/game/OutdoorPvPMgr.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/game/OutdoorPvPMgr.cpp b/src/game/OutdoorPvPMgr.cpp index 2050a6c11f7..4016b84a73a 100644 --- a/src/game/OutdoorPvPMgr.cpp +++ b/src/game/OutdoorPvPMgr.cpp @@ -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) |
