This commit is contained in:
parent
a692d3560c
commit
b52828ae5f
@ -214,7 +214,7 @@ void CMapScene::init()
|
||||
CFader::setFadingIn();
|
||||
|
||||
CSoundMediator::setSong(CSoundMediator::SONG_MAPSCREEN);
|
||||
CSoundMediator::playSong();
|
||||
m_musicStarted=false;
|
||||
}
|
||||
|
||||
|
||||
@ -382,6 +382,12 @@ void CMapScene::think(int _frames)
|
||||
{
|
||||
if(!CFader::isFading()&&!m_readyToExit)
|
||||
{
|
||||
if(m_musicStarted==false)
|
||||
{
|
||||
m_musicStarted=true;
|
||||
CSoundMediator::playSong();
|
||||
}
|
||||
|
||||
int pad=PadGetDown(0);
|
||||
|
||||
// Change chapter
|
||||
|
@ -99,6 +99,7 @@ private:
|
||||
|
||||
class FontBank *m_font;
|
||||
int m_readyToExit;
|
||||
int m_musicStarted;
|
||||
|
||||
char *m_screenImage;
|
||||
char *m_mapBackgroundImage;
|
||||
|
Loading…
Reference in New Issue
Block a user