Allow combined player steps to have per-player radar values. This doesn't work for trails where it just uses the PLAYER_1 values, same with writing to the catalog file.
This commit is contained in:
@@ -118,8 +118,8 @@ bool StepsUtil::CompareNotesPointersByRadarValues(const Steps* pSteps1, const St
|
||||
float fScore1 = 0;
|
||||
float fScore2 = 0;
|
||||
|
||||
fScore1 += pSteps1->GetRadarValues()[RadarCategory_TapsAndHolds];
|
||||
fScore2 += pSteps2->GetRadarValues()[RadarCategory_TapsAndHolds];
|
||||
fScore1 += pSteps1->GetRadarValues( PLAYER_1 )[RadarCategory_TapsAndHolds];
|
||||
fScore2 += pSteps2->GetRadarValues( PLAYER_1 )[RadarCategory_TapsAndHolds];
|
||||
|
||||
return fScore1 < fScore2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user