diff --git a/src/game/BattleGround.cpp b/src/game/BattleGround.cpp index 9fe3d6631..0f4d43dea 100644 --- a/src/game/BattleGround.cpp +++ b/src/game/BattleGround.cpp @@ -446,14 +446,14 @@ void BattleGround::Update(uint32 diff) SetStatus(STATUS_IN_PROGRESS); SetStartDelayTime(m_StartDelayTimes[BG_STARTING_EVENT_FOURTH]); - //remove preparation + // remove preparation if (isArena()) { - //TODO : add arena sound PlaySoundToAll(SOUND_ARENA_START); - - for(BattleGroundPlayerMap::const_iterator itr = m_Players.begin(); itr != m_Players.end(); ++itr) - if (Player *plr = sObjectMgr.GetPlayer(itr->first)) - plr->RemoveAurasDueToSpell(SPELL_ARENA_PREPARATION); + for (BattleGroundPlayerMap::const_iterator itr = m_Players.begin(); itr != m_Players.end(); ++itr) + { + if (Player* player = sObjectMgr.GetPlayer(itr->first)) + player->RemoveAurasDueToSpell(SPELL_ARENA_PREPARATION); + } CheckArenaWinConditions(); } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 2537b0f10..b3378fd28 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11977" + #define REVISION_NR "11978" #endif // __REVISION_NR_H__