add toggle for awarding item on combo break in battle

This commit is contained in:
Chris Danford
2003-04-11 01:49:57 +00:00
parent 423666c845
commit fb27c29bee
6 changed files with 18 additions and 6 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ struct TapScoreDistribution
{
float fRand = randomf(0,1);
ASSERT( iDifficultyExponent >= 1 );
fRand = powf(fRand, iDifficultyExponent);
fRand = powf( fRand, (float)iDifficultyExponent );
for( int i=TNS_MISS; i<=TNS_MARVELOUS; i++ )
if( fRand <= fCumulativeProbability[i] )
return (TapNoteScore)i;