This commit is contained in:
parent
a692d3560c
commit
b52828ae5f
2 changed files with 8 additions and 1 deletions
|
@ -214,7 +214,7 @@ void CMapScene::init()
|
||||||
CFader::setFadingIn();
|
CFader::setFadingIn();
|
||||||
|
|
||||||
CSoundMediator::setSong(CSoundMediator::SONG_MAPSCREEN);
|
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(!CFader::isFading()&&!m_readyToExit)
|
||||||
{
|
{
|
||||||
|
if(m_musicStarted==false)
|
||||||
|
{
|
||||||
|
m_musicStarted=true;
|
||||||
|
CSoundMediator::playSong();
|
||||||
|
}
|
||||||
|
|
||||||
int pad=PadGetDown(0);
|
int pad=PadGetDown(0);
|
||||||
|
|
||||||
// Change chapter
|
// Change chapter
|
||||||
|
|
|
@ -99,6 +99,7 @@ private:
|
||||||
|
|
||||||
class FontBank *m_font;
|
class FontBank *m_font;
|
||||||
int m_readyToExit;
|
int m_readyToExit;
|
||||||
|
int m_musicStarted;
|
||||||
|
|
||||||
char *m_screenImage;
|
char *m_screenImage;
|
||||||
char *m_mapBackgroundImage;
|
char *m_mapBackgroundImage;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue