From 45582ee9fbbe3924383db98bd6dbe349ff514515 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 1 Jul 2006 02:19:44 +0000 Subject: [PATCH] support multiplayer --- stepmania/src/Player.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index 68afeaa01b..df28b77225 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -626,7 +626,7 @@ void Player::Update( float fDeltaTime ) else { const StyleInput StyleI( pn, iTrack ); - bIsHoldingButton = INPUTMAPPER->IsButtonDown( StyleI ); + bIsHoldingButton = INPUTMAPPER->IsButtonDown( StyleI, m_pPlayerState->m_mp ); } int iEndRow = iRow + tn.iDuration; @@ -1523,13 +1523,13 @@ void Player::CrossedMineRow( int iNoteRow ) const StyleInput StyleI( pn, t ); if( PREFSMAN->m_fPadStickSeconds > 0 ) { - float fSecsHeld = INPUTMAPPER->GetSecsHeld( StyleI ); + float fSecsHeld = INPUTMAPPER->GetSecsHeld( StyleI, m_pPlayerState->m_mp ); if( fSecsHeld >= PREFSMAN->m_fPadStickSeconds ) Step( t, now+(-PREFSMAN->m_fPadStickSeconds), true ); } else { - bool bIsDown = INPUTMAPPER->IsButtonDown( StyleI ); + bool bIsDown = INPUTMAPPER->IsButtonDown( StyleI, m_pPlayerState->m_mp ); if( bIsDown ) Step( t, now, true ); }