start phasing out old parameter-heavy PlayMusic() call

This commit is contained in:
Glenn Maynard
2008-08-09 22:37:03 +00:00
parent ec87939361
commit c434dee534
+5 -1
View File
@@ -192,7 +192,11 @@ void ScreenWithMenuElements::StartPlayingMusic()
/* Some screens should leave the music alone (eg. ScreenPlayerOptions music
* sample left over from ScreenSelectMusic). */
if( PLAY_MUSIC )
SOUND->PlayMusic( m_sPathToMusic );
{
GameSoundManager::PlayMusicParams pmp;
pmp.sFile = m_sPathToMusic;
SOUND->PlayMusic( pmp );
}
}
void ScreenWithMenuElements::Update( float fDeltaTime )