Send mine data to the server.
This commit is contained in:
@@ -1459,6 +1459,12 @@ void Player::UpdateTapNotesMissedOlderThan( float fMissIfOlderThanSeconds )
|
||||
if( tn.type == TapNote::mine )
|
||||
{
|
||||
tn.result.tns = TNS_AvoidMine;
|
||||
|
||||
//Let the server know we avoided a mine
|
||||
//Hit mines are sent to the server in HandleTapScore
|
||||
NSMAN->ReportScore( m_pPlayerState->m_PlayerNumber, tn.result.tns,
|
||||
m_pPlayerStageStats->iScore,
|
||||
m_pPlayerStageStats->iCurCombo );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -339,6 +339,10 @@ void ScoreKeeperNormal::HandleTapScore( TapNoteScore score )
|
||||
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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user