silence a warning by reverting something i did
This commit is contained in:
@@ -1534,7 +1534,6 @@ void ScreenSelectMusic::AfterMusicChange()
|
|||||||
// check SampleMusicPreviewMode here.
|
// check SampleMusicPreviewMode here.
|
||||||
switch( SAMPLE_MUSIC_PREVIEW_MODE )
|
switch( SAMPLE_MUSIC_PREVIEW_MODE )
|
||||||
{
|
{
|
||||||
DEFAULT_FAIL(SAMPLE_MUSIC_PREVIEW_MODE);
|
|
||||||
case SampleMusicPreviewMode_ScreenMusic:
|
case SampleMusicPreviewMode_ScreenMusic:
|
||||||
// play the screen music
|
// play the screen music
|
||||||
m_sSampleMusicToPlay = m_sLoopMusicPath;
|
m_sSampleMusicToPlay = m_sLoopMusicPath;
|
||||||
@@ -1551,6 +1550,8 @@ void ScreenSelectMusic::AfterMusicChange()
|
|||||||
m_fSampleStartSeconds = pSong->m_fMusicSampleStartSeconds;
|
m_fSampleStartSeconds = pSong->m_fMusicSampleStartSeconds;
|
||||||
m_fSampleLengthSeconds = pSong->m_fMusicSampleLengthSeconds;
|
m_fSampleLengthSeconds = pSong->m_fMusicSampleLengthSeconds;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
ASSERT(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
SongUtil::GetPlayableSteps( pSong, m_vpSteps );
|
SongUtil::GetPlayableSteps( pSong, m_vpSteps );
|
||||||
|
|||||||
Reference in New Issue
Block a user