Core/Battlegrounds: Remove temporary currency bonus auras before rewarding player at battleground end

(cherry picked from commit a2f6a2b6ca)
This commit is contained in:
Shocker
2011-11-26 23:41:21 +02:00
committed by Shauren
parent 4bec94451f
commit 41e48ff2e1

View File

@@ -769,6 +769,10 @@ void Battleground::EndBattleground(uint32 winner)
CharacterDatabase.Execute(stmt);
}
// remove temporary currency bonus auras before rewarding player
player->RemoveAura(SPELL_HONORABLE_DEFENDER_25Y);
player->RemoveAura(SPELL_HONORABLE_DEFENDER_60Y);
// Reward winner team
if (team == winner)
{