fix toasties not playing if perfect combo skips past 250

This commit is contained in:
Glenn Maynard
2004-05-25 03:24:40 +00:00
parent dbe044d039
commit b19f3972c4
+3 -1
View File
@@ -393,7 +393,9 @@ void ScoreKeeperMAX2::HandleTapRowScore( TapNoteScore scoreOfLastTap, int iNumTa
case TNS_PERFECT:
m_iCurToastyCombo += iNumTapsInRow;
if( m_iCurToastyCombo==250 && !GAMESTATE->m_bDemonstrationOrJukebox )
if( m_iCurToastyCombo >= 250 &&
m_iCurToastyCombo - iNumTapsInRow < 250 &&
!GAMESTATE->m_bDemonstrationOrJukebox )
{
SCREENMAN->PostMessageToTopScreen( SM_PlayToasty, 0 );
PROFILEMAN->IncrementToastiesCount( m_PlayerNumber );