From 6280cf235610b8a26ef44201dc8a3eb02e9062f2 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 1 Jul 2006 02:15:22 +0000 Subject: [PATCH] cleanup --- stepmania/src/Player.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index 9520b91464..68afeaa01b 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -1521,16 +1521,15 @@ void Player::CrossedMineRow( int iNoteRow ) PlayerNumber pn = m_pPlayerState->m_PlayerNumber; const StyleInput StyleI( pn, t ); - const GameInput GameI = GAMESTATE->GetCurrentStyle()->StyleInputToGameInput( StyleI ); if( PREFSMAN->m_fPadStickSeconds > 0 ) { - float fSecsHeld = INPUTMAPPER->GetSecsHeld( GameI ); + float fSecsHeld = INPUTMAPPER->GetSecsHeld( StyleI ); if( fSecsHeld >= PREFSMAN->m_fPadStickSeconds ) Step( t, now+(-PREFSMAN->m_fPadStickSeconds), true ); } else { - bool bIsDown = INPUTMAPPER->IsButtonDown( GameI ); + bool bIsDown = INPUTMAPPER->IsButtonDown( StyleI ); if( bIsDown ) Step( t, now, true ); }