GetAllSongs() -> GetSongs().
This commit is contained in:
@@ -241,7 +241,7 @@ int Profile::GetTotalStepsWithTopGrade( StepsType st, Difficulty d, Grade g ) co
|
||||
{
|
||||
int iCount = 0;
|
||||
|
||||
FOREACH_CONST( Song*, SONGMAN->GetAllSongs(), pSong )
|
||||
FOREACH_CONST( Song*, SONGMAN->GetSongs(), pSong )
|
||||
{
|
||||
if( (*pSong)->m_SelectionDisplay == Song::SHOW_NEVER )
|
||||
continue; // skip
|
||||
@@ -300,7 +300,7 @@ float Profile::GetSongsPossible( StepsType st, Difficulty dc ) const
|
||||
int iTotalSteps = 0;
|
||||
|
||||
// add steps high scores
|
||||
const vector<Song*> vSongs = SONGMAN->GetAllSongs();
|
||||
const vector<Song*> vSongs = SONGMAN->GetSongs();
|
||||
for( unsigned i=0; i<vSongs.size(); i++ )
|
||||
{
|
||||
Song* pSong = vSongs[i];
|
||||
|
||||
Reference in New Issue
Block a user