fix possible divide by 0

This commit is contained in:
Chris Danford
2004-04-14 06:00:32 +00:00
parent 94d3512316
commit 71edd1ffa0
+3
View File
@@ -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 // Search for a Song and Steps to play during the demo
// //