slight edit of no real significance

This commit is contained in:
AJ Kelly
2011-02-08 18:20:43 -06:00
parent 1af986101f
commit 0ebd8b8c80
+7 -8
View File
@@ -1673,21 +1673,20 @@ void ScreenSelectMusic::AfterMusicChange()
g_sCDTitlePath = ""; // none
if( SAMPLE_MUSIC_PREVIEW_MODE != SampleMusicPreviewMode_LastSong )
if( SAMPLE_MUSIC_PREVIEW_MODE == SampleMusicPreviewMode_LastSong )
{
m_fSampleStartSeconds = 0;
m_fSampleLengthSeconds = -1;
}
else
{
// HACK: Make random music work in LastSong mode (IDK if this is
// accurate or not) -aj
// HACK: Make random music work in LastSong mode. -aj
if( m_sSampleMusicToPlay == m_sRandomMusicPath )
{
m_fSampleStartSeconds = 0;
m_fSampleLengthSeconds = -1;
}
}
else
{
m_fSampleStartSeconds = 0;
m_fSampleLengthSeconds = -1;
}
switch( m_MusicWheel.GetSelectedType() )
{