* Allow the initialization of the Wintergrasp OutdoorPvP enviroment to be disabled if configured.
--HG-- branch : trunk
This commit is contained in:
1 parent
3bbc0d3324
commit
43b3f834cf
5 files changed
+12
-2
No files matched your search
@@ -75,6 +75,9 @@ typedef std::list<const AreaPOIEntry *> AreaPOIList;
|
||||
|
||||
bool OPvPWintergrasp::SetupOutdoorPvP()
|
||||
{
|
||||
if(!sWorld.getConfig(CONFIG_OUTDOORPVP_WINTERGRASP_ENABLED))
|
||||
return false;
|
||||
|
||||
m_defender = TeamId(rand()%2);
|
||||
m_changeDefender = false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user