Player: broadcast StepPN message (compat)
For backwards compatibility, broadcast the old StepP1/2 message in addition to the new Step message. New themes, charts, etc. should of course use the new message with parameters.
This commit is contained in:
@@ -2695,6 +2695,9 @@ void Player::StepStrumHopo( int col, int row, const RageTimer &tm, bool bHeld, b
|
||||
msg.SetParam( "MultiPlayer", m_pPlayerState->m_mp );
|
||||
msg.SetParam( "Column", col );
|
||||
MESSAGEMAN->Broadcast( msg );
|
||||
// Backwards compatibility
|
||||
Message msg2( ssprintf("StepP%d", m_pPlayerState->m_PlayerNumber + 1) );
|
||||
MESSAGEMAN->Broadcast( msg2 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user