Backing out of the final stage prevents getting extra stage. Backing out of extra stage (or second extra stage) fails the stage.
This commit is contained in:
@@ -254,6 +254,8 @@ void GameState::Reset()
|
||||
m_pEditSourceSteps.Set( NULL );
|
||||
m_stEditSource.Set( STEPS_TYPE_INVALID );
|
||||
m_iEditCourseEntryIndex.Set( -1 );
|
||||
|
||||
m_bBackedOutOfFinalStage = false;
|
||||
|
||||
ApplyCmdline();
|
||||
}
|
||||
@@ -967,6 +969,9 @@ bool GameState::HasEarnedExtraStage() const
|
||||
|
||||
if( this->m_PlayMode != PLAY_MODE_REGULAR )
|
||||
return false;
|
||||
|
||||
if( m_bBackedOutOfFinalStage )
|
||||
return false;
|
||||
|
||||
if( (this->IsFinalStage() || this->IsExtraStage()) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user