From b19f3972c4437df84b28549da28dd009182c28a1 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 25 May 2004 03:24:40 +0000 Subject: [PATCH] fix toasties not playing if perfect combo skips past 250 --- stepmania/src/ScoreKeeperMAX2.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScoreKeeperMAX2.cpp b/stepmania/src/ScoreKeeperMAX2.cpp index 8c724a573a..e1918f67fb 100644 --- a/stepmania/src/ScoreKeeperMAX2.cpp +++ b/stepmania/src/ScoreKeeperMAX2.cpp @@ -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 );