This commit is contained in:
Paul 2001-08-10 20:14:50 +00:00
parent ea030fb8c3
commit ed0f08902a
4 changed files with 15 additions and 6 deletions

View file

@ -133,13 +133,16 @@ void CBossText::shutdown()
Params:
Returns:
---------------------------------------------------------------------- */
void CBossText::select()
void CBossText::select(int _dontChangeMusic)
{
m_readyToExit=false;
m_currentPage=0;
CSoundMediator::stopSong();
CSoundMediator::setSong(s_bossData[GameScene.GetLevel().getCurrentChapter()-1].m_songId);
if(!_dontChangeMusic)
{
CSoundMediator::stopSong();
CSoundMediator::setSong(s_bossData[GameScene.GetLevel().getCurrentChapter()-1].m_songId);
}
}
/*----------------------------------------------------------------------