Fix overflow causing odd grades. (Bug courtesy of Microsoft Visual C++ 6.0.)
This commit is contained in:
@@ -1708,8 +1708,9 @@ void ScreenGameplay::HandleScreenMessage( const ScreenMessage SM )
|
|||||||
* not always, if m_bTwoPlayerRecovery is set. */
|
* not always, if m_bTwoPlayerRecovery is set. */
|
||||||
if( GAMESTATE->m_SongOptions.m_FailType != SongOptions::FAIL_OFF )
|
if( GAMESTATE->m_SongOptions.m_FailType != SongOptions::FAIL_OFF )
|
||||||
{
|
{
|
||||||
if( (m_pLifeMeter[p] && !m_pLifeMeter[p]->IsFailing()) ||
|
for( p=0; p<NUM_PLAYERS; p++ )
|
||||||
(m_pCombinedLifeMeter && !m_pCombinedLifeMeter->IsFailing((PlayerNumber)p)) )
|
if( (m_pLifeMeter[p] && m_pLifeMeter[p]->IsFailing()) ||
|
||||||
|
(m_pCombinedLifeMeter && m_pCombinedLifeMeter->IsFailing((PlayerNumber)p)) )
|
||||||
GAMESTATE->m_CurStageStats.bFailed[p] = true;
|
GAMESTATE->m_CurStageStats.bFailed[p] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user