fix pPlayerState
This commit is contained in:
@@ -1314,9 +1314,12 @@ SongOptions::FailType GameState::GetPlayerFailType( const PlayerState *pPlayerSt
|
|||||||
if( m_pCurSteps[pn] )
|
if( m_pCurSteps[pn] )
|
||||||
dc = m_pCurSteps[pn]->GetDifficulty();
|
dc = m_pCurSteps[pn]->GetDifficulty();
|
||||||
|
|
||||||
bool bFirstStageForAny = !IsEventMode();
|
bool bFirstStageForAny = false;
|
||||||
|
if( !IsEventMode() )
|
||||||
|
{
|
||||||
FOREACH_HumanPlayer( p )
|
FOREACH_HumanPlayer( p )
|
||||||
bFirstStageForAny |= m_iPlayerStageTokens[p] == PREFSMAN->m_iSongsPerPlay; // HACK
|
bFirstStageForAny |= m_iPlayerStageTokens[p] == PREFSMAN->m_iSongsPerPlay; // HACK
|
||||||
|
}
|
||||||
|
|
||||||
/* Easy and beginner are never harder than FAIL_IMMEDIATE_CONTINUE. */
|
/* Easy and beginner are never harder than FAIL_IMMEDIATE_CONTINUE. */
|
||||||
if( dc <= Difficulty_Easy )
|
if( dc <= Difficulty_Easy )
|
||||||
|
|||||||
Reference in New Issue
Block a user