aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpp <none@none>2010-05-05 02:55:51 +0200
committerSpp <none@none>2010-05-05 02:55:51 +0200
commit3199e7b8dbae8eb6025a612073fed230566ba9c6 (patch)
tree0c273b3a635d46b3355cf3a6ea25cf011bedf3cc
parent601fa2721e0197519271bc2ba01a92c373d5179c (diff)
SOTA: Fix team being declared winner when it should be tie
Original patch by Gyullo closes issue 1111 --HG-- branch : trunk
-rw-r--r--src/game/BattleGroundSA.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/BattleGroundSA.cpp b/src/game/BattleGroundSA.cpp
index 04eb9b3b567..ffa2167278d 100644
--- a/src/game/BattleGroundSA.cpp
+++ b/src/game/BattleGroundSA.cpp
@@ -248,7 +248,7 @@ void BattleGroundSA::Update(uint32 diff)
{
if (TotalTime >= BG_SA_ROUNDLENGTH)
{
- RoundScores[0].time = TotalTime;
+ RoundScores[0].time = BG_SA_ROUNDLENGTH;
TotalTime = 0;
status = BG_SA_SECOND_WARMUP;
attackers = (attackers == TEAM_ALLIANCE) ? TEAM_HORDE : TEAM_ALLIANCE;
@@ -263,7 +263,7 @@ void BattleGroundSA::Update(uint32 diff)
{
if (TotalTime >= BG_SA_ROUNDLENGTH)
{
- RoundScores[1].time = TotalTime;
+ RoundScores[1].time = BG_SA_ROUNDLENGTH;
RoundScores[1].winner = (attackers == TEAM_ALLIANCE) ? TEAM_HORDE : TEAM_ALLIANCE;
if (RoundScores[0].time == RoundScores[1].time)