This commit is contained in:
Glenn Maynard
2003-09-26 07:18:28 +00:00
parent c975ef04e6
commit d3f991ee47
+2 -7
View File
@@ -232,7 +232,8 @@ void ScreenTitleMenu::Input( const DeviceInput& DeviceI, const InputEventType ty
break; break;
/* break if the choice is invalid */ /* break if the choice is invalid */
if( m_Choice == CHOICE_JUKEBOX || if( m_Choice == CHOICE_JUKEBOX ||
m_Choice == CHOICE_EDIT ) m_Choice == CHOICE_EDIT ||
m_Choice == CHOICE_EDIT_COURSES )
{ {
if( SONGMAN->GetNumSongs() == 0 ) if( SONGMAN->GetNumSongs() == 0 )
{ {
@@ -252,12 +253,6 @@ void ScreenTitleMenu::Input( const DeviceInput& DeviceI, const InputEventType ty
SCREENMAN->SystemMessage( "No courses are installed" ); SCREENMAN->SystemMessage( "No courses are installed" );
return; return;
} }
if( SONGMAN->GetNumSongs() == 0 )
{
m_soundInvalid.Play();
SCREENMAN->SystemMessage( "No songs are installed" );
return;
}
} }
if( m_Choice == CHOICE_EXIT ) if( m_Choice == CHOICE_EXIT )
{ {