Fix crash during BattleGround::EndBattleGround().

Fixes issue #885.

+ init FirstFlagCaptureTeam at bg reset.

--HG--
branch : trunk
This commit is contained in:
Trazom62
2010-02-25 00:26:47 +01:00
parent 1e7f50b3f6
commit 3bbee4172a
2 changed files with 6 additions and 1 deletions
+1
View File
@@ -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])