hopefully make this crash message more informative

This commit is contained in:
AJ Kelly
2010-12-30 23:29:52 -06:00
parent 8a91e20dc7
commit 382333ee23
+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( 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 );
}