grr, fix crash due to incorrect assertion
This commit is contained in:
@@ -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. */
|
||||||
|
|||||||
Reference in New Issue
Block a user