Add 'difficult' for nonstop courses.
This feels hackish; feel free to make it more general
This commit is contained in:
@@ -836,6 +836,9 @@ void MusicWheel::Update( float fDeltaTime )
|
||||
|
||||
void MusicWheel::ChangeMusic(int dist)
|
||||
{
|
||||
if(GAMESTATE->m_PlayMode == PLAY_MODE_NONSTOP)
|
||||
GetSelectedCourse()->MakeNormal();
|
||||
|
||||
m_iSelection += dist;
|
||||
if( m_iSelection < 0 )
|
||||
m_iSelection = m_CurWheelItemData.size()-1;
|
||||
@@ -846,6 +849,9 @@ void MusicWheel::ChangeMusic(int dist)
|
||||
|
||||
m_fPositionOffsetFromSelection += dist;
|
||||
|
||||
if(GAMESTATE->m_bDifficultCourses && GAMESTATE->m_PlayMode == PLAY_MODE_NONSTOP)
|
||||
GetSelectedCourse()->MakeDifficult();
|
||||
|
||||
SCREENMAN->SendMessageToTopScreen( SM_SongChanged, 0 );
|
||||
|
||||
/* If we're moving automatically, don't play this; it'll be called in Update. */
|
||||
|
||||
Reference in New Issue
Block a user