From 479fe8b767c833ae5055af31a800738ba8e597ad Mon Sep 17 00:00:00 2001 From: XTZGZoReX Date: Fri, 10 Oct 2008 13:37:21 -0500 Subject: [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 --- src/game/BattleGroundEY.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/game/BattleGroundEY.cpp') diff --git a/src/game/BattleGroundEY.cpp b/src/game/BattleGroundEY.cpp index 18b2645d25e..ac27df99355 100644 --- a/src/game/BattleGroundEY.cpp +++ b/src/game/BattleGroundEY.cpp @@ -25,6 +25,7 @@ #include "ObjectMgr.h" #include "MapManager.h" #include "Language.h" +#include "World.h" #include "Util.h" BattleGroundEY::BattleGroundEY() @@ -99,7 +100,13 @@ void BattleGroundEY::Update(time_t diff) SendMessageToAll(GetMangosString(LANG_BG_EY_BEGIN)); - 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) -- cgit v1.2.3