mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[11978] Remove outdated comment
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
e29e640341
commit
24574b000e
2 changed files with 7 additions and 7 deletions
|
|
@ -449,11 +449,11 @@ void BattleGround::Update(uint32 diff)
|
||||||
// remove preparation
|
// remove preparation
|
||||||
if (isArena())
|
if (isArena())
|
||||||
{
|
{
|
||||||
//TODO : add arena sound PlaySoundToAll(SOUND_ARENA_START);
|
|
||||||
|
|
||||||
for (BattleGroundPlayerMap::const_iterator itr = m_Players.begin(); itr != m_Players.end(); ++itr)
|
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);
|
if (Player* player = sObjectMgr.GetPlayer(itr->first))
|
||||||
|
player->RemoveAurasDueToSpell(SPELL_ARENA_PREPARATION);
|
||||||
|
}
|
||||||
|
|
||||||
CheckArenaWinConditions();
|
CheckArenaWinConditions();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11977"
|
#define REVISION_NR "11978"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue