Friendlier error message, showing the problem.

Of course, the problem now is how do we fix it...
This commit is contained in:
Jason Felds
2011-01-02 00:27:38 -05:00
parent d8e07a1b77
commit 108b7cd097
+1 -1
View File
@@ -448,7 +448,7 @@ void NoteDataUtil::SplitCompositeNoteData( const NoteData &in, vector<NoteData>
TapNote tn = iter->second;
unsigned index = int( tn.pn );
ASSERT_M( index < NUM_PlayerNumber, ssprintf("index %u < NUM_PlayerNumber %i",index,NUM_PlayerNumber) );
ASSERT_M( index < NUM_PlayerNumber, ssprintf("We have a note not assigned to a player. The note in question is on beat %f, column %i.", NoteRowToBeat(row), t + 1) );
tn.pn = PLAYER_INVALID;
out[index].SetTapNote( t, row, tn );
}