added iTrack to mine judgment message

more information is better.
This commit is contained in:
sigatrev
2014-03-03 20:37:13 -06:00
parent 922c9c412a
commit 43f9fd70ca
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -2845,10 +2845,10 @@ void Player::UpdateJudgedRows()
bAllJudged = false;
continue;
case TNS_AvoidMine:
SetMineJudgment( tn.result.tns );
SetMineJudgment( tn.result.tns , iter.Track() );
continue;
case TNS_HitMine:
SetMineJudgment( tn.result.tns );
SetMineJudgment( tn.result.tns , iter.Track() );
break;
}
if( m_pNoteField )
@@ -3329,13 +3329,14 @@ void Player::CacheAllUsedNoteSkins()
m_pNoteField->CacheAllUsedNoteSkins();
}
void Player::SetMineJudgment( TapNoteScore tns )
void Player::SetMineJudgment( TapNoteScore tns , int iTrack )
{
if( m_bSendJudgmentAndComboMessages )
{
Message msg("Judgment");
msg.SetParam( "Player", m_pPlayerState->m_PlayerNumber );
msg.SetParam( "TapNoteScore", tns );
msg.SetParam( "FirstTrack", iTrack );
MESSAGEMAN->Broadcast( msg );
if( m_pPlayerStageStats &&
( ( tns == TNS_AvoidMine && AVOID_MINE_INCREMENTS_COMBO ) ||