simplify (not a worthwhile optimization)

This commit is contained in:
Glenn Maynard
2006-08-17 00:39:53 +00:00
parent 982ffa6a65
commit b755a68c27
+3 -4
View File
@@ -758,10 +758,9 @@ bool GameState::IsStagePossible( Stage s ) const
if( s == STAGE_FINAL && actual >= STAGE_1 && actual <= STAGE_FINAL ) if( s == STAGE_FINAL && actual >= STAGE_1 && actual <= STAGE_FINAL )
{ {
Stage max_actual = actual; Stage max_actual = actual;
if( PREFSMAN->m_fMarathonVerSongSeconds < 9999 )
enum_add( max_actual, +2 ); // For long/marathon songs:
else if( PREFSMAN->m_fLongVerSongSeconds < 9999 ) enum_add( max_actual, +2 );
enum_add( max_actual, +1 );
if( max_actual >= STAGE_FINAL ) if( max_actual >= STAGE_FINAL )
return true; return true;