diff --git a/stepmania/src/MusicWheel.cpp b/stepmania/src/MusicWheel.cpp index 3c7c3f969f..3cdf7272a6 100644 --- a/stepmania/src/MusicWheel.cpp +++ b/stepmania/src/MusicWheel.cpp @@ -1320,7 +1320,14 @@ void MusicWheel::StartLeap() SetOpenGroup("", SortOrder(m_LastSortOrder)); } - m_iSelection = rand() % m_CurWheelItemData.size(); + // probe to find a song + for( int i=0; i<20; i++ ) + { + m_iSelection = rand() % m_CurWheelItemData.size(); + if( m_CurWheelItemData[m_iSelection]->m_Type == TYPE_SONG ) + break; // done searching + } + m_fPositionOffsetFromSelection = 0; m_WheelState = STATE_SELECTING_MUSIC; SCREENMAN->PlayStartSound(); diff --git a/stepmania/src/ScreenEnding.cpp b/stepmania/src/ScreenEnding.cpp index 19a3966ca6..95b9e6976a 100644 --- a/stepmania/src/ScreenEnding.cpp +++ b/stepmania/src/ScreenEnding.cpp @@ -57,7 +57,7 @@ CString GetStatsLineValue( PlayerNumber pn, int iLine ) case PERCENT_COMPLETE: { double fPercent = 100.0 * pProfile->GetTotalHighScoreDancePointsForStepsType(st) / (double)pProfile->GetTotalPossibleDancePointsForStepsType(st); - return ssprintf( "%02.4f%%", fPercent ); + return ssprintf( "%02.3f%%", fPercent ); } case TOTAL_CALORIES: return pProfile->GetDisplayTotalCaloriesBurned(); case TOTAL_SONGS_PLAYED: return Commify( pProfile->GetTotalNumSongsPlayed() );