HandleTapScore now sends all mine data to the server.

This commit is contained in:
Josh Allen
2006-07-21 16:24:55 +00:00
parent 0fd98658a5
commit 4e4e0dc04a
+11 -9
View File
@@ -334,17 +334,19 @@ void ScoreKeeperNormal::AddScore( TapNoteScore score )
void ScoreKeeperNormal::HandleTapScore( const TapNote &tn )
{
TapNoteScore score = tn.result.tns;
if( score == TNS_HitMine )
if (tn.type == TapNote::mine)
{
if( !m_pPlayerStageStats->bFailed )
m_pPlayerStageStats->iActualDancePoints += TapNoteScoreToDancePoints( TNS_HitMine );
m_pPlayerStageStats->iTapNoteScores[TNS_HitMine] += 1;
TapNoteScore score = tn.result.tns;
if( score == TNS_HitMine )
{
if( !m_pPlayerStageStats->bFailed )
m_pPlayerStageStats->iActualDancePoints += TapNoteScoreToDancePoints( TNS_HitMine );
m_pPlayerStageStats->iTapNoteScores[TNS_HitMine] += 1;
}
NSMAN->ReportScore( m_pPlayerState->m_PlayerNumber, score,
m_pPlayerStageStats->iScore,
m_pPlayerStageStats->iCurCombo );
m_pPlayerStageStats->iScore,
m_pPlayerStageStats->iCurCombo );
}
}