portal shouldn't unlock a locked song

This commit is contained in:
Chris Danford
2004-06-26 23:02:57 +00:00
parent 3dbf16a1ae
commit 6ea5cb233c
+4 -2
View File
@@ -1251,8 +1251,10 @@ bool MusicWheel::Select() // return true if this selection ends the screen
return false;
case TYPE_SONG:
case TYPE_PORTAL:
if( !GAMESTATE->IsExtraStage() && !GAMESTATE->IsExtraStage2() )
UNLOCKMAN->UnlockSong( m_CurWheelItemData[m_iSelection]->m_pSong );
// Don't -permanently- unlock the song. Just let them play
// the unlocked song once.
// if( !GAMESTATE->IsExtraStage() && !GAMESTATE->IsExtraStage2() )
// UNLOCKMAN->UnlockSong( m_CurWheelItemData[m_iSelection]->m_pSong );
return true;
case TYPE_COURSE:
return true;