Jump to content

[fix] No lose-marks BattleGroundEY


Recommended Posts

Posted

* What bug does the patch fix? What features does the patch add?

Bug in Battleground.cpp so only the winner-team gets EY mark of honor

* For which repository revision was the patch created?

mangos 0.12

commit http://github.com/mangos/mangos/commit/6f44fd6b7913d3834eae75ebbba35f833107830c

* Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

Dont know

* Who has been writing this patch? Please include either forum user names or email addresses.

me

diff --git a/src/game/BattleGround.cpp b/src/game/BattleGround.cpp
index cc34085..cbfac8b 100644
--- a/src/game/BattleGround.cpp
+++ b/src/game/BattleGround.cpp
@@ -604,8 +635,7 @@ void BattleGround::RewardMark(Player *plr,uint32 count)
                RewardSpellCast(plr,SPELL_AB_MARK_LOSER);
            break;
        case BATTLEGROUND_EY:
-            if (count == ITEM_WINNER_COUNT)
-                RewardItem(plr,ITEM_EY_MARK_OF_HONOR,count);
+            RewardItem(plr,ITEM_EY_MARK_OF_HONOR,count);
            break;
        default:
            break;

http://paste2.org/p/905081

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use