grr, fix crash due to incorrect assertion

This commit is contained in:
Glenn Maynard
2004-04-03 22:51:26 +00:00
parent 7a889e57ba
commit 66f580f676
+1 -4
View File
@@ -1411,15 +1411,12 @@ void ScreenGameplay::Update( float fDeltaTime )
CLAMP( fPercentPositionSong, 0, 1 ); CLAMP( fPercentPositionSong, 0, 1 );
m_meterSongPosition.SetPercent( fPercentPositionSong ); m_meterSongPosition.SetPercent( fPercentPositionSong );
//NSMAN Update Life in NSMAN.
{
FOREACH_EnabledPlayer( pn ) FOREACH_EnabledPlayer( pn )
{ {
ASSERT( m_pLifeMeter[pn] ); if( m_pLifeMeter[pn] )
NSMAN->m_playerLife[pn] = int(m_pLifeMeter[pn]->GetLife()*10000); NSMAN->m_playerLife[pn] = int(m_pLifeMeter[pn]->GetLife()*10000);
} }
} }
}
/* Set g_CurStageStats.bFailed for failed players. In, FAIL_ARCADE, send /* Set g_CurStageStats.bFailed for failed players. In, FAIL_ARCADE, send
* SM_BeginFailed if all players failed, and kill dead Oni players. */ * SM_BeginFailed if all players failed, and kill dead Oni players. */