* Allow the initialization of the Wintergrasp OutdoorPvP enviroment to be disabled if configured.

--HG--
branch : trunk
This commit is contained in:
Machiavelli committed 2009-10-06 20:46:58 +02:00
1 parent 3bbc0d3324
commit 43b3f834cf
5 files changed
+12 -2

No files matched your search

+3
View File
@@ -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;