diff options
author | Trazom62 <none@none> | 2010-02-25 00:26:47 +0100 |
---|---|---|
committer | Trazom62 <none@none> | 2010-02-25 00:26:47 +0100 |
commit | 3bbee4172ab475baf142779cd473416e380661c9 (patch) | |
tree | 89796958b0d606d06cb4de87e9ce15684c6fa9cd /src/game/BattleGroundWS.cpp | |
parent | 1e7f50b3f60006c121b4523a06fd8f1bf4445cdf (diff) |
Fix crash during BattleGround::EndBattleGround().
Fixes issue #885.
+ init FirstFlagCaptureTeam at bg reset.
--HG--
branch : trunk
Diffstat (limited to 'src/game/BattleGroundWS.cpp')
-rw-r--r-- | src/game/BattleGroundWS.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/BattleGroundWS.cpp b/src/game/BattleGroundWS.cpp index d6b25bd2475..6ac73567b07 100644 --- a/src/game/BattleGroundWS.cpp +++ b/src/game/BattleGroundWS.cpp @@ -720,6 +720,7 @@ void BattleGroundWS::Reset() m_HonorEndKills = (isBGWeekend) ? 4 : 2; // For WorldState m_minutesElapsed = 0; + m_FirstFlagCaptureTeam = 0; /* Spirit nodes is static at this BG and then not required deleting at BG reset. if (m_BgCreatures[WS_SPIRIT_MAIN_ALLIANCE]) |