fix inverted Selectable logic
This commit is contained in:
@@ -37,11 +37,11 @@ bool SongCriteria::Matches( const Song *pSong ) const
|
|||||||
{
|
{
|
||||||
DEFAULT_FAIL(m_Selectable);
|
DEFAULT_FAIL(m_Selectable);
|
||||||
case Selectable_Yes:
|
case Selectable_Yes:
|
||||||
if( UNLOCKMAN && !(UNLOCKMAN->SongIsLocked(pSong) & LOCKED_SELECTABLE) )
|
if( UNLOCKMAN && UNLOCKMAN->SongIsLocked(pSong) & LOCKED_SELECTABLE )
|
||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
case Selectable_No:
|
case Selectable_No:
|
||||||
if( UNLOCKMAN && UNLOCKMAN->SongIsLocked(pSong) & LOCKED_SELECTABLE )
|
if( UNLOCKMAN && !(UNLOCKMAN->SongIsLocked(pSong) & LOCKED_SELECTABLE) )
|
||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
case Selectable_DontCare:
|
case Selectable_DontCare:
|
||||||
|
|||||||
Reference in New Issue
Block a user