slight edit of no real significance
This commit is contained in:
@@ -1673,21 +1673,20 @@ void ScreenSelectMusic::AfterMusicChange()
|
|||||||
|
|
||||||
g_sCDTitlePath = ""; // none
|
g_sCDTitlePath = ""; // none
|
||||||
|
|
||||||
if( SAMPLE_MUSIC_PREVIEW_MODE != SampleMusicPreviewMode_LastSong )
|
if( SAMPLE_MUSIC_PREVIEW_MODE == SampleMusicPreviewMode_LastSong )
|
||||||
{
|
{
|
||||||
m_fSampleStartSeconds = 0;
|
// HACK: Make random music work in LastSong mode. -aj
|
||||||
m_fSampleLengthSeconds = -1;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// HACK: Make random music work in LastSong mode (IDK if this is
|
|
||||||
// accurate or not) -aj
|
|
||||||
if( m_sSampleMusicToPlay == m_sRandomMusicPath )
|
if( m_sSampleMusicToPlay == m_sRandomMusicPath )
|
||||||
{
|
{
|
||||||
m_fSampleStartSeconds = 0;
|
m_fSampleStartSeconds = 0;
|
||||||
m_fSampleLengthSeconds = -1;
|
m_fSampleLengthSeconds = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_fSampleStartSeconds = 0;
|
||||||
|
m_fSampleLengthSeconds = -1;
|
||||||
|
}
|
||||||
|
|
||||||
switch( m_MusicWheel.GetSelectedType() )
|
switch( m_MusicWheel.GetSelectedType() )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user