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
+2 -5
View File
@@ -1411,13 +1411,10 @@ void ScreenGameplay::Update( float fDeltaTime )
CLAMP( fPercentPositionSong, 0, 1 );
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);
}
}
}