fix crash at end of hold note in editor playback
This commit is contained in:
@@ -695,7 +695,8 @@ void Player::Update( float fDeltaTime )
|
|||||||
/* this note has been judged */
|
/* this note has been judged */
|
||||||
HandleHoldScore( hns, tns );
|
HandleHoldScore( hns, tns );
|
||||||
|
|
||||||
m_pPlayerStageStats->hnsLast = hns;
|
if( m_pPlayerStageStats != NULL )
|
||||||
|
m_pPlayerStageStats->hnsLast = hns;
|
||||||
if( m_pPlayerState->m_mp != MultiPlayer_INVALID )
|
if( m_pPlayerState->m_mp != MultiPlayer_INVALID )
|
||||||
MESSAGEMAN->Broadcast( enum_add2(Message_ShowHoldJudgmentMuliPlayerP1,m_pPlayerState->m_mp) );
|
MESSAGEMAN->Broadcast( enum_add2(Message_ShowHoldJudgmentMuliPlayerP1,m_pPlayerState->m_mp) );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user