From aa4afd5474fb92d94e3580396b8f0da406361d9c Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Fri, 19 Oct 2007 09:00:18 +0000 Subject: [PATCH] fix inverted Selectable logic --- stepmania/src/SongUtil.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/SongUtil.cpp b/stepmania/src/SongUtil.cpp index aebca145ad..7f066e7450 100644 --- a/stepmania/src/SongUtil.cpp +++ b/stepmania/src/SongUtil.cpp @@ -37,11 +37,11 @@ bool SongCriteria::Matches( const Song *pSong ) const { DEFAULT_FAIL(m_Selectable); case Selectable_Yes: - if( UNLOCKMAN && !(UNLOCKMAN->SongIsLocked(pSong) & LOCKED_SELECTABLE) ) + if( UNLOCKMAN && UNLOCKMAN->SongIsLocked(pSong) & LOCKED_SELECTABLE ) return false; break; case Selectable_No: - if( UNLOCKMAN && UNLOCKMAN->SongIsLocked(pSong) & LOCKED_SELECTABLE ) + if( UNLOCKMAN && !(UNLOCKMAN->SongIsLocked(pSong) & LOCKED_SELECTABLE) ) return false; break; case Selectable_DontCare: