diff --git a/stepmania/src/NoteDataUtil.cpp b/stepmania/src/NoteDataUtil.cpp index 2345586002..139800dec6 100644 --- a/stepmania/src/NoteDataUtil.cpp +++ b/stepmania/src/NoteDataUtil.cpp @@ -1952,7 +1952,7 @@ void NoteDataUtil::AddTapAttacks( NoteData &nd, Song* pSong ) int iTrack = iBeat % nd.GetNumTracks(); // deterministically calculates track TapNote tn( TapNote::attack, - TapNote::SubType_invalid, + TapNote::SubType_INVALID, TapNote::original, szAttacks[RandomInt(ARRAYLEN(szAttacks))], 15.0f, diff --git a/stepmania/src/NoteDataWithScoring.cpp b/stepmania/src/NoteDataWithScoring.cpp index ee9fdbc1b3..d99019b245 100644 --- a/stepmania/src/NoteDataWithScoring.cpp +++ b/stepmania/src/NoteDataWithScoring.cpp @@ -39,7 +39,7 @@ int GetNumNWithScore( const NoteData &in, TapNoteScore tns, int MinTaps, int iSt int GetNumHoldNotesWithScore( const NoteData &in, TapNote::SubType subType, HoldNoteScore hns ) { - ASSERT( subType != TapNote::SubType_invalid ); + ASSERT( subType != TapNote::SubType_INVALID ); int iNumSuccessfulHolds = 0; for( int t=0; t