diff options
author | n0n4m3 <none@none> | 2009-12-17 06:55:45 +0100 |
---|---|---|
committer | n0n4m3 <none@none> | 2009-12-17 06:55:45 +0100 |
commit | a9c28a63a640938737e8e76b39de9b5638790dba (patch) | |
tree | 421c73d51ecba735c50cf438f2e8e9c78311b245 /src/game/BattleGround.cpp | |
parent | 3b9a93bfc4625575d22f087a46e60e4f0566b8f4 (diff) |
Set max health and mana at the end BG
--HG--
branch : trunk
Diffstat (limited to 'src/game/BattleGround.cpp')
-rw-r--r-- | src/game/BattleGround.cpp | 2 |
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); |