diff options
author | Machiavelli <none@none> | 2009-10-06 20:46:58 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2009-10-06 20:46:58 +0200 |
commit | 43b3f834cfa7403bbfe1ff9a25169278ba4a7259 (patch) | |
tree | 35e5faea5052cb894942fd29d3b0dbcbc9a1a7e6 /src/game/World.cpp | |
parent | 3bbc0d3324fe5b3101fea689d71e266433bae169 (diff) |
* Allow the initialization of the Wintergrasp OutdoorPvP enviroment to be disabled if configured.
--HG--
branch : trunk
Diffstat (limited to 'src/game/World.cpp')
-rw-r--r-- | src/game/World.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp index 0150b8fca12..706400652b0 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -1168,6 +1168,8 @@ void World::LoadConfigSettings(bool reload) m_configs[CONFIG_PVP_TOKEN_COUNT] = sConfig.GetIntDefault("PvPToken.ItemCount", 1); if (m_configs[CONFIG_PVP_TOKEN_COUNT] < 1) m_configs[CONFIG_PVP_TOKEN_COUNT] = 1; + + m_configs[CONFIG_OUTDOORPVP_WINTERGRASP_ENABLED] = sConfig.GetBoolDefault("OutdoorPvP.Wintergrasp.Enabled", true); m_configs[CONFIG_OUTDOORPVP_WINTERGRASP_START_TIME] = sConfig.GetIntDefault("OutdoorPvP.Wintergrasp.StartTime", 30); m_configs[CONFIG_OUTDOORPVP_WINTERGRASP_BATTLE_TIME] = sConfig.GetIntDefault("OutdoorPvP.Wintergrasp.BattleTime", 30); m_configs[CONFIG_OUTDOORPVP_WINTERGRASP_INTERVAL] = sConfig.GetIntDefault("OutdoorPvP.Wintergrasp.Interval", 150); |