This commit is contained in:
Paul 2001-07-02 20:04:02 +00:00
parent a692d3560c
commit b52828ae5f
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -99,6 +99,7 @@ private:
class FontBank *m_font;
int m_readyToExit;
int m_musicStarted;
char *m_screenImage;
char *m_mapBackgroundImage;