From 6f06008f6bf9b59e27b2a7826a54f4d02fd64dcf Mon Sep 17 00:00:00 2001 From: Rat Date: Wed, 12 May 2010 07:53:13 +0200 Subject: make BG kill XP configable, default off --HG-- branch : trunk --- src/game/BattleGround.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/BattleGround.cpp') 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; -- cgit v1.2.3