diff options
author | Rat <none@none> | 2010-05-12 07:53:13 +0200 |
---|---|---|
committer | Rat <none@none> | 2010-05-12 07:53:13 +0200 |
commit | 6f06008f6bf9b59e27b2a7826a54f4d02fd64dcf (patch) | |
tree | a53570720c79dc4af011c6c2963ced4bf572ab96 /src/game/BattleGround.cpp | |
parent | bfa0588fac005b6f274edb8ccd7b622cd47dd1ff (diff) |
make BG kill XP configable, default off
--HG--
branch : trunk
Diffstat (limited to 'src/game/BattleGround.cpp')
-rw-r--r-- | src/game/BattleGround.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/BattleGround.cpp b/src/game/BattleGround.cpp index 06a4dbd5391..8ca49225597 100644 --- a/src/game/BattleGround.cpp +++ b/src/game/BattleGround.cpp @@ -1954,7 +1954,7 @@ void BattleGround::SetBracket(PvPDifficultyEntry const* bracketEntry) void BattleGround::RewardXPAtKill(Player* plr, Player* victim) { - if (!plr || !victim) + if (!sWorld.getConfig(CONFIG_BG_XP_FOR_KILL) || !plr || !victim) return; uint32 xp = 0; |