handle no extra stage in event mode in HasEarnedExtraStage
This commit is contained in:
@@ -280,8 +280,7 @@ ScreenEvaluation::ScreenEvaluation( bool bSummary )
|
|||||||
|
|
||||||
m_bTryExtraStage =
|
m_bTryExtraStage =
|
||||||
GAMESTATE->HasEarnedExtraStage() &&
|
GAMESTATE->HasEarnedExtraStage() &&
|
||||||
m_ResultMode==RM_ARCADE_STAGE &&
|
m_ResultMode==RM_ARCADE_STAGE;
|
||||||
!PREFSMAN->m_bEventMode;
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Init ResultMode-specific displays
|
// Init ResultMode-specific displays
|
||||||
|
|||||||
@@ -1246,20 +1246,14 @@ void ScreenGameplay::HandleScreenMessage( const ScreenMessage SM )
|
|||||||
if( GAMESTATE->m_SongOptions.m_FailType == SongOptions::FAIL_END_OF_SONG && AllFailedEarlier() )
|
if( GAMESTATE->m_SongOptions.m_FailType == SongOptions::FAIL_END_OF_SONG && AllFailedEarlier() )
|
||||||
{
|
{
|
||||||
this->SendScreenMessage( SM_BeginFailed, 0 );
|
this->SendScreenMessage( SM_BeginFailed, 0 );
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
m_StarWipe.CloseWipingRight( SM_None );
|
m_StarWipe.CloseWipingRight( SM_None );
|
||||||
|
|
||||||
// do they deserve an extra stage?
|
// do they deserve an extra stage?
|
||||||
bool bTryExtraStage = GAMESTATE->HasEarnedExtraStage();
|
if( GAMESTATE->HasEarnedExtraStage() )
|
||||||
if( PREFSMAN->m_bEventMode )
|
|
||||||
bTryExtraStage = false;
|
|
||||||
|
|
||||||
if( bTryExtraStage )
|
|
||||||
{
|
|
||||||
this->SendScreenMessage( SM_ShowTryExtraStage, 1 );
|
this->SendScreenMessage( SM_ShowTryExtraStage, 1 );
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this->SendScreenMessage( SM_ShowCleared, 1 );
|
this->SendScreenMessage( SM_ShowCleared, 1 );
|
||||||
@@ -1267,7 +1261,6 @@ void ScreenGameplay::HandleScreenMessage( const ScreenMessage SM )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SM_BeginLoadingNextSong:
|
case SM_BeginLoadingNextSong:
|
||||||
|
|||||||
Reference in New Issue
Block a user