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:
Steve Checkoway
2005-06-29 07:57:15 +00:00
parent aa71c794ec
commit 2a179a0380
3 changed files with 16 additions and 3 deletions
+5
View File
@@ -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()) )
{