simplify (not a worthwhile optimization)
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user