aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraczman <none@none>2009-03-21 21:07:51 +0100
committerraczman <none@none>2009-03-21 21:07:51 +0100
commitca7d04ca1367c41840c6cc42a321d9be2851208d (patch)
treed92ad4d772865bdf29c55bea8088923b7f8afd78 /src
parent6354da1eebe58db4d67180e6816ed58e956efa7a (diff)
Not allow to receive rewards when BG finishes prematurely - thanks to Sethoso, original author.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/BattleGround.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/BattleGround.cpp b/src/game/BattleGround.cpp
index e63bea531d9..5ab9490b215 100644
--- a/src/game/BattleGround.cpp
+++ b/src/game/BattleGround.cpp
@@ -561,7 +561,7 @@ void BattleGround::EndBattleGround(uint32 winner)
UpdatePlayerScore(plr, SCORE_BONUS_HONOR, 20);
RewardQuest(plr);
}
- else
+ else if(winner !=0)
{
RewardMark(plr,ITEM_LOSER_COUNT);
}