aboutsummaryrefslogtreecommitdiff
path: root/src/game/World.cpp
diff options
context:
space:
mode:
authorRat <none@none>2010-05-12 07:53:13 +0200
committerRat <none@none>2010-05-12 07:53:13 +0200
commit6f06008f6bf9b59e27b2a7826a54f4d02fd64dcf (patch)
treea53570720c79dc4af011c6c2963ced4bf572ab96 /src/game/World.cpp
parentbfa0588fac005b6f274edb8ccd7b622cd47dd1ff (diff)
make BG kill XP configable, default off
--HG-- branch : trunk
Diffstat (limited to 'src/game/World.cpp')
-rw-r--r--src/game/World.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp
index f189a0e8c33..0ef07e143ba 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -1050,6 +1050,7 @@ void World::LoadConfigSettings(bool reload)
m_configs[CONFIG_BATTLEGROUND_INVITATION_TYPE] = sConfig.GetIntDefault ("Battleground.InvitationType", 0);
m_configs[CONFIG_BATTLEGROUND_PREMATURE_FINISH_TIMER] = sConfig.GetIntDefault ("BattleGround.PrematureFinishTimer", 5 * MINUTE * IN_MILISECONDS);
m_configs[CONFIG_BATTLEGROUND_PREMADE_GROUP_WAIT_FOR_MATCH] = sConfig.GetIntDefault ("BattleGround.PremadeGroupWaitForMatch", 30 * MINUTE * IN_MILISECONDS);
+ m_configs[CONFIG_BG_XP_FOR_KILL] = sConfig.GetBoolDefault("Battleground.GiveXPForKills", false);
m_configs[CONFIG_ARENA_MAX_RATING_DIFFERENCE] = sConfig.GetIntDefault ("Arena.MaxRatingDifference", 150);
m_configs[CONFIG_ARENA_RATING_DISCARD_TIMER] = sConfig.GetIntDefault ("Arena.RatingDiscardTimer", 10 * MINUTE * IN_MILISECONDS);
m_configs[CONFIG_ARENA_AUTO_DISTRIBUTE_POINTS] = sConfig.GetBoolDefault("Arena.AutoDistributePoints", false);