don't make unlocks for songs with no challenge steps

This commit is contained in:
Chris Danford
2006-05-25 18:46:40 +00:00
parent 69887462fb
commit a8792e08db
+6
View File
@@ -453,8 +453,14 @@ void UnlockManager::Load()
{
FOREACH_CONST( Song*, SONGMAN->GetAllSongs(), s )
{
// If no hard steps to play to unlock, skip
if( (*s)->GetOneSteps(STEPS_TYPE_INVALID, DIFFICULTY_HARD) == NULL )
continue;
// If no challenge steps to unlock, skip
if( (*s)->GetOneSteps(STEPS_TYPE_INVALID, DIFFICULTY_CHALLENGE) == NULL )
continue;
if( SONGMAN->WasLoadedFromAdditionalSongs(*s) )
continue;