[editorKeysounds] More attempts, need help.

Anyone want a stab?

Main issue: tap + autoKeysound means skipped judgment.
This commit is contained in:
Jason Felds
2012-02-10 23:16:00 -05:00
parent 2f6240d372
commit 22033113a5
3 changed files with 34 additions and 15 deletions
+6 -4
View File
@@ -462,7 +462,8 @@ int NoteData::GetLastRow() const
bool NoteData::IsTap(const TapNote &tn, const int row) const
{
return (tn.type != TapNote::empty && tn.type != TapNote::mine
&& tn.type != TapNote::lift && tn.type != TapNote::fake
&& tn.type != TapNote::lift && tn.type != TapNote::fake
&& tn.type != TapNote::autoKeysound
&& GAMESTATE->GetProcessedTimingData()->IsJudgableAtRow(row));
}
@@ -610,9 +611,10 @@ int NoteData::GetNumRowsWithSimultaneousTaps( int iMinTaps, int iStartIndex, int
for( int t=0; t<GetNumTracks(); t++ )
{
const TapNote &tn = GetTapNote(t, r);
if( tn.type != TapNote::mine // mines don't count.
&& tn.type != TapNote::empty
&& tn.type != TapNote::fake)
if (tn.type != TapNote::mine && // mines don't count.
tn.type != TapNote::empty &&
tn.type != TapNote::fake &&
tn.type != TapNote::autoKeysound)
iNumNotesThisIndex++;
}
if( iNumNotesThisIndex >= iMinTaps )