use PlayMusic

This commit is contained in:
Glenn Maynard
2003-01-02 07:39:25 +00:00
parent b1a1f52bcc
commit 18320299f0
4 changed files with 10 additions and 12 deletions
+3 -3
View File
@@ -197,9 +197,9 @@ void MusicBannerWheel::PlayMusicSample()
Song* pSong = GetSelectedSong();
if( pSong && pSong->HasMusic() )
{
MUSIC->Stop();
MUSIC->Load( pSong->GetMusicPath() );
MUSIC->Play( true, pSong->m_fMusicSampleStartSeconds, pSong->m_fMusicSampleLengthSeconds );
SOUNDMAN->PlayMusic(pSong->GetMusicPath(), true,
pSong->m_fMusicSampleStartSeconds,
pSong->m_fMusicSampleLengthSeconds);
}
}