start phasing out old parameter-heavy PlayMusic() call
This commit is contained in:
@@ -192,7 +192,11 @@ void ScreenWithMenuElements::StartPlayingMusic()
|
|||||||
/* Some screens should leave the music alone (eg. ScreenPlayerOptions music
|
/* Some screens should leave the music alone (eg. ScreenPlayerOptions music
|
||||||
* sample left over from ScreenSelectMusic). */
|
* sample left over from ScreenSelectMusic). */
|
||||||
if( PLAY_MUSIC )
|
if( PLAY_MUSIC )
|
||||||
SOUND->PlayMusic( m_sPathToMusic );
|
{
|
||||||
|
GameSoundManager::PlayMusicParams pmp;
|
||||||
|
pmp.sFile = m_sPathToMusic;
|
||||||
|
SOUND->PlayMusic( pmp );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScreenWithMenuElements::Update( float fDeltaTime )
|
void ScreenWithMenuElements::Update( float fDeltaTime )
|
||||||
|
|||||||
Reference in New Issue
Block a user