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:
Devin J. Pohly
2014-02-20 10:59:49 -05:00
parent 59674ad6f2
commit da5eb84730
+3
View File
@@ -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 );
}
}