fix ComboChanged message sent when m_bSendJudgmentAndComboMessages is false
This commit is contained in:
@@ -574,6 +574,8 @@ void Player::SendComboMessages( int iOldCombo, int iOldMissCombo )
|
||||
}
|
||||
|
||||
|
||||
if( m_bSendJudgmentAndComboMessages )
|
||||
{
|
||||
Message msg( "ComboChanged" );
|
||||
msg.SetParam( "Player", m_pPlayerState->m_PlayerNumber );
|
||||
msg.SetParam( "OldCombo", iOldCombo );
|
||||
@@ -583,6 +585,7 @@ void Player::SendComboMessages( int iOldCombo, int iOldMissCombo )
|
||||
if( m_pPlayerStageStats )
|
||||
msg.SetParam( "PlayerStageStats", LuaReference::CreateFromPush(*m_pPlayerStageStats) );
|
||||
MESSAGEMAN->Broadcast( msg );
|
||||
}
|
||||
}
|
||||
|
||||
void Player::Update( float fDeltaTime )
|
||||
|
||||
Reference in New Issue
Block a user