Little() now removes HoldNotes that don't start on a beat

This commit is contained in:
Chris Danford
2003-02-25 08:07:56 +00:00
parent 1fca3d67c5
commit d77d1cc43c
6 changed files with 21 additions and 27 deletions
+3 -1
View File
@@ -160,7 +160,9 @@ void Combo::SetScore( TapNoteScore score, int iNumNotesInThisRow, Inventory* pIn
case TNS_MISS:
{
// end combo
bool bItemAcquired = pInventory->OnComboBroken( m_PlayerNumber, m_iCurCombo );
bool bItemAcquired = false;
if( pInventory )
bItemAcquired = pInventory->OnComboBroken( m_PlayerNumber, m_iCurCombo );
if( !bItemAcquired && m_iCurCombo>50 ) // don't play "combo stopped" if we got an item
SCREENMAN->SendMessageToTopScreen( SM_ComboStopped, 0 );