make toasty rare (having it come up once every few days is amusing;

having it come up twice in one song is annoying)

(easter eggs should be rare anyway, or they become distracting ...)
This commit is contained in:
Glenn Maynard
2003-02-13 21:58:33 +00:00
parent 9060cfff1b
commit ae2c4f779c
+1 -1
View File
@@ -64,7 +64,7 @@ void Combo::UpdateScore( TapNoteScore score, int iNumNotesInThisRow )
case TNS_PERFECT:
m_iCurComboOfPerfects += iNumNotesInThisRow;
if( (m_iCurComboOfPerfects>=150) && (m_iCurComboOfPerfects%150)==0 && !GAMESTATE->m_bDemonstration )
if( rand() < 0.1f && m_iCurComboOfPerfects>=150 && (m_iCurComboOfPerfects%150)==0 && !GAMESTATE->m_bDemonstration )
SCREENMAN->SendMessageToTopScreen( SM_BeginToasty, 0 );
break;
default: