This commit is contained in:
parent
ea030fb8c3
commit
ed0f08902a
4 changed files with 15 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue