NUM_STEPS_TYPES -> NUM_StepsType

This commit is contained in:
Glenn Maynard
2006-09-26 20:22:28 +00:00
parent 78cdd15ec0
commit a7b53444f8
5 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -784,7 +784,7 @@ void Song::SaveToDWIFile()
void Song::AddAutoGenNotes()
{
bool HasNotes[NUM_STEPS_TYPES];
bool HasNotes[NUM_StepsType];
memset( HasNotes, 0, sizeof(HasNotes) );
for( unsigned i=0; i < m_vpSteps.size(); i++ ) // foreach Steps
{
@@ -1074,7 +1074,7 @@ RString Song::GetTranslitFullTitle() const
void Song::AddSteps( Steps* pSteps )
{
m_vpSteps.push_back( pSteps );
ASSERT_M( pSteps->m_StepsType < NUM_STEPS_TYPES, ssprintf("%i", pSteps->m_StepsType) );
ASSERT_M( pSteps->m_StepsType < NUM_StepsType, ssprintf("%i", pSteps->m_StepsType) );
m_vpStepsByType[pSteps->m_StepsType].push_back( pSteps );
}