Friendlier error message, showing the problem.
Of course, the problem now is how do we fix it...
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user