fix possible divide by 0
This commit is contained in:
@@ -65,6 +65,9 @@ bool ScreenJukebox::SetSong( bool bDemonstration )
|
||||
}
|
||||
}
|
||||
|
||||
if( vDifficultiesToShow.empty() )
|
||||
vDifficultiesToShow.push_back( DIFFICULTY_EASY );
|
||||
|
||||
//
|
||||
// Search for a Song and Steps to play during the demo
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user