aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGroundAB.cpp
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2008-10-10 13:37:21 -0500
committerXTZGZoReX <none@none>2008-10-10 13:37:21 -0500
commit479fe8b767c833ae5055af31a800738ba8e597ad (patch)
tree85c0f9a54fc581085702aa0916ecdf694b0b2b1d /src/game/BattleGroundAB.cpp
parentded2714f89267e10b99ba725353afefe37b71645 (diff)
[svn] * Removing useless data accidentally committed.
* Applying ImpConfig patch. * Note: QUEUE_FOR_GM currently disabled as it's not compatible with the ACE patch. Anyone care to rewrite it? * Note2: This is untested - I may have done some mistakes here and there. Will try to compile now. --HG-- branch : trunk
Diffstat (limited to 'src/game/BattleGroundAB.cpp')
-rw-r--r--src/game/BattleGroundAB.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/game/BattleGroundAB.cpp b/src/game/BattleGroundAB.cpp
index b58c850d2c3..5c065bc644c 100644
--- a/src/game/BattleGroundAB.cpp
+++ b/src/game/BattleGroundAB.cpp
@@ -25,6 +25,7 @@
#include "ObjectMgr.h"
#include "MapManager.h"
#include "Language.h"
+#include "World.h"
#include "Util.h"
BattleGroundAB::BattleGroundAB()
@@ -107,7 +108,13 @@ void BattleGroundAB::Update(time_t diff)
DoorOpen(BG_AB_OBJECT_GATE_A);
DoorOpen(BG_AB_OBJECT_GATE_H);
- PlaySoundToAll(SOUND_BG_START);
+ if(sWorld.getConfig(CONFIG_BG_START_MUSIC))
+ {
+ PlaySoundToAll(SOUND_BG_START);
+ PlaySoundToAll(SOUND_BG_START_L70ETC); //MUSIC
+ }
+ else
+ PlaySoundToAll(SOUND_BG_START);
SetStatus(STATUS_IN_PROGRESS);
for(BattleGroundPlayerMap::const_iterator itr = GetPlayers().begin(); itr != GetPlayers().end(); ++itr)