ARRAYSIZE -> ARRAYLEN

This commit is contained in:
Glenn Maynard
2006-09-13 03:11:38 +00:00
parent 9fb0d09f35
commit e206261b80
21 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -1816,7 +1816,7 @@ const ValidRow g_ValidRows[] =
void NoteDataUtil::RemoveStretch( NoteData &inout, StepsType st, int iStartIndex, int iEndIndex )
{
vector<const ValidRow*> vpValidRowsToCheck;
for( unsigned i=0; i<ARRAYSIZE(g_ValidRows); i++ )
for( unsigned i=0; i<ARRAYLEN(g_ValidRows); i++ )
{
if( g_ValidRows[i].st == st )
vpValidRowsToCheck.push_back( &g_ValidRows[i] );
@@ -1954,7 +1954,7 @@ void NoteDataUtil::AddTapAttacks( NoteData &nd, Song* pSong )
TapNote::attack,
TapNote::SubType_invalid,
TapNote::original,
szAttacks[RandomInt(ARRAYSIZE(szAttacks))],
szAttacks[RandomInt(ARRAYLEN(szAttacks))],
15.0f,
-1 );
nd.SetTapNote( iTrack, BeatToNoteRow(fBeat), tn );