From 602aed8d9738865bb5935eefda03c4aa2f9c444e Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Thu, 29 Sep 2011 23:51:23 -0400 Subject: [PATCH] Fix unlocking of steps via previous difficulty. Thanks to Sta and Kevin for the fix. --- src/UnlockManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/UnlockManager.cpp b/src/UnlockManager.cpp index 25df63b682..8599f33e51 100644 --- a/src/UnlockManager.cpp +++ b/src/UnlockManager.cpp @@ -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; } }