hopefully make this crash message more informative
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( index < NUM_PlayerNumber );
|
||||
ASSERT_M( index < NUM_PlayerNumber, ssprintf("index %u < NUM_PlayerNumber %i",index,NUM_PlayerNumber) );
|
||||
tn.pn = PLAYER_INVALID;
|
||||
out[index].SetTapNote( t, row, tn );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user