fix percentages regarding oni mode

fix crash in oni mode when using 5th mix scoring
This commit is contained in:
Andrew Wong
2003-08-14 19:46:22 +00:00
parent 49b646fa5e
commit 18d61edb52
5 changed files with 41 additions and 13 deletions
+5 -1
View File
@@ -33,7 +33,11 @@ ScoreKeeperMAX2::ScoreKeeperMAX2( const vector<Steps*>& apNotes_, const CStringA
int iTotalPossibleDancePoints = 0;
for( unsigned i=0; i<apNotes.size(); i++ )
{
Steps* pSteps = apNotes[0];
// Steps* pSteps = apNotes[0];
Steps* pSteps = apNotes[i]; // this should reflect the
// song's steps since in oni mode all songs don't necessarily
// have the same number of steps
NoteData notedata;
pSteps->GetNoteData( &notedata );