use IsMarathon, IsLong

This commit is contained in:
Glenn Maynard
2006-08-17 00:37:40 +00:00
parent ba7d8d2849
commit 982ffa6a65
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -649,9 +649,9 @@ RString SongManager::ShortenGroupName( RString sLongGroupName )
int SongManager::GetNumStagesForSong( const Song* pSong )
{
ASSERT( pSong );
if( pSong->m_fMusicLengthSeconds > PREFSMAN->m_fMarathonVerSongSeconds )
if( pSong->IsMarathon() )
return 3;
if( pSong->m_fMusicLengthSeconds > PREFSMAN->m_fLongVerSongSeconds )
if( pSong->IsLong() )
return 2;
else
return 1;