Fix unlocking of steps via previous difficulty.

Thanks to Sta and Kevin for the fix.
This commit is contained in:
Jason Felds
2011-09-29 23:51:23 -04:00
parent 91999148d8
commit 602aed8d97
+2 -2
View File
@@ -391,7 +391,7 @@ UnlockEntryStatus UnlockEntry::GetUnlockEntryStatus() const
);
FOREACH_CONST( Steps*, vp, s )
if( PROFILEMAN->GetMachineProfile()->HasPassedSteps(pSong, *s) )
return UnlockEntryStatus_RequirementsMet;
return UnlockEntryStatus_Unlocked;
}
if (m_bRequirePassChallengeSteps && m_Song.IsValid())
@@ -405,7 +405,7 @@ UnlockEntryStatus UnlockEntry::GetUnlockEntryStatus() const
FOREACH_CONST(Steps*, vp, s)
{
if (PROFILEMAN->GetMachineProfile()->HasPassedSteps(pSong, *s))
return UnlockEntryStatus_RequirementsMet;
return UnlockEntryStatus_Unlocked;
}
}