fix step totals being added multiple times
This commit is contained in:
@@ -885,16 +885,18 @@ void ScreenEvaluation::CommitScores(
|
|||||||
Steps* pSteps = GAMESTATE->m_pCurNotes[p];
|
Steps* pSteps = GAMESTATE->m_pCurNotes[p];
|
||||||
|
|
||||||
//
|
//
|
||||||
// Add step totals
|
// Add step totals. (In Summary evaluations, we've already done this.)
|
||||||
//
|
//
|
||||||
int iNumTapsAndHolds = (int) stageStats.fRadarPossible[p][RADAR_NUM_TAPS_AND_HOLDS];
|
if( m_Type != summary )
|
||||||
int iNumJumps = (int) stageStats.fRadarPossible[p][RADAR_NUM_JUMPS];
|
{
|
||||||
int iNumHolds = (int) stageStats.fRadarPossible[p][RADAR_NUM_HOLDS];
|
int iNumTapsAndHolds = (int) stageStats.fRadarPossible[p][RADAR_NUM_TAPS_AND_HOLDS];
|
||||||
int iNumMines = (int) stageStats.fRadarPossible[p][RADAR_NUM_MINES];
|
int iNumJumps = (int) stageStats.fRadarPossible[p][RADAR_NUM_JUMPS];
|
||||||
int iNumHands = (int) stageStats.fRadarPossible[p][RADAR_NUM_HANDS];
|
int iNumHolds = (int) stageStats.fRadarPossible[p][RADAR_NUM_HOLDS];
|
||||||
|
int iNumMines = (int) stageStats.fRadarPossible[p][RADAR_NUM_MINES];
|
||||||
PROFILEMAN->AddStepTotals( p, iNumTapsAndHolds, iNumJumps, iNumHolds, iNumMines, iNumHands );
|
int iNumHands = (int) stageStats.fRadarPossible[p][RADAR_NUM_HANDS];
|
||||||
|
|
||||||
|
PROFILEMAN->AddStepTotals( p, iNumTapsAndHolds, iNumJumps, iNumHolds, iNumMines, iNumHands );
|
||||||
|
}
|
||||||
|
|
||||||
// whether or not to save scores when the stage was failed
|
// whether or not to save scores when the stage was failed
|
||||||
// depends on if this is a course or not ... it's handled
|
// depends on if this is a course or not ... it's handled
|
||||||
|
|||||||
Reference in New Issue
Block a user