Whoops. SongEntry::UpdateLocked was backwards.
This commit is contained in:
@@ -141,25 +141,25 @@ void SongEntry::UpdateLocked()
|
|||||||
const UnlockSystem *UNLOCKS = GAMESTATE->m_pUnlockingSys;
|
const UnlockSystem *UNLOCKS = GAMESTATE->m_pUnlockingSys;
|
||||||
|
|
||||||
isLocked = true;
|
isLocked = true;
|
||||||
if ( m_fArcadePointsRequired && UNLOCKS->ArcadePoints < m_fArcadePointsRequired )
|
if ( m_fArcadePointsRequired && UNLOCKS->ArcadePoints >= m_fArcadePointsRequired )
|
||||||
isLocked = false;
|
isLocked = false;
|
||||||
|
|
||||||
if ( m_fDancePointsRequired && UNLOCKS->DancePoints < m_fDancePointsRequired )
|
if ( m_fDancePointsRequired && UNLOCKS->DancePoints >= m_fDancePointsRequired )
|
||||||
isLocked = false;
|
isLocked = false;
|
||||||
|
|
||||||
if ( m_fSongPointsRequired && UNLOCKS->SongPoints < m_fSongPointsRequired )
|
if ( m_fSongPointsRequired && UNLOCKS->SongPoints >= m_fSongPointsRequired )
|
||||||
isLocked = false;
|
isLocked = false;
|
||||||
|
|
||||||
if ( m_fExtraStagesCleared && UNLOCKS->ExtraClearPoints < m_fExtraStagesCleared )
|
if ( m_fExtraStagesCleared && UNLOCKS->ExtraClearPoints >= m_fExtraStagesCleared )
|
||||||
isLocked = false;
|
isLocked = false;
|
||||||
|
|
||||||
if ( m_fExtraStagesFailed && UNLOCKS->ExtraFailPoints < m_fExtraStagesFailed )
|
if ( m_fExtraStagesFailed && UNLOCKS->ExtraFailPoints >= m_fExtraStagesFailed )
|
||||||
isLocked = false;
|
isLocked = false;
|
||||||
|
|
||||||
if ( m_fStagesCleared && UNLOCKS->StagesCleared < m_fStagesCleared )
|
if ( m_fStagesCleared && UNLOCKS->StagesCleared >= m_fStagesCleared )
|
||||||
isLocked = false;
|
isLocked = false;
|
||||||
|
|
||||||
if ( m_fToastysSeen && UNLOCKS->ToastyPoints < m_fToastysSeen )
|
if ( m_fToastysSeen && UNLOCKS->ToastyPoints >= m_fToastysSeen )
|
||||||
isLocked = false;
|
isLocked = false;
|
||||||
|
|
||||||
if ( m_iRouletteSeed )
|
if ( m_iRouletteSeed )
|
||||||
@@ -167,7 +167,7 @@ void SongEntry::UpdateLocked()
|
|||||||
const CString &tmp = UNLOCKS->RouletteSeeds;
|
const CString &tmp = UNLOCKS->RouletteSeeds;
|
||||||
|
|
||||||
LOG->Trace("Seed in question: %d Roulette seeds: %s", m_iRouletteSeed, tmp.c_str() );
|
LOG->Trace("Seed in question: %d Roulette seeds: %s", m_iRouletteSeed, tmp.c_str() );
|
||||||
if( tmp[m_iRouletteSeed] != '1' )
|
if( tmp[m_iRouletteSeed] == '1' )
|
||||||
isLocked = false;
|
isLocked = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user