aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-17 06:55:45 +0100
committern0n4m3 <none@none>2009-12-17 06:55:45 +0100
commita9c28a63a640938737e8e76b39de9b5638790dba (patch)
tree421c73d51ecba735c50cf438f2e8e9c78311b245
parent3b9a93bfc4625575d22f087a46e60e4f0566b8f4 (diff)
Set max health and mana at the end BG
--HG-- branch : trunk
-rw-r--r--src/game/BattleGround.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/BattleGround.cpp b/src/game/BattleGround.cpp
index c9a3eb6be9e..d6558e3bb4f 100644
--- a/src/game/BattleGround.cpp
+++ b/src/game/BattleGround.cpp
@@ -784,6 +784,8 @@ void BattleGround::EndBattleGround(uint32 winner)
else if(winner)
RewardMark(plr,ITEM_LOSER_COUNT);
+ plr->SetHealth(plr->GetMaxHealth());
+ plr->SetPower(POWER_MANA, plr->GetMaxPower(POWER_MANA));
plr->CombatStopWithPets(true);
BlockMovement(plr);