From 33b0b7bcc58c9d73d233a76cfc6a4b24a8c4c6a8 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 1 Jul 2006 00:44:52 +0000 Subject: [PATCH] cleanup --- stepmania/src/Player.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index 549ffed037..9520b91464 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -626,8 +626,7 @@ void Player::Update( float fDeltaTime ) else { const StyleInput StyleI( pn, iTrack ); - const GameInput GameI = GAMESTATE->GetCurrentStyle()->StyleInputToGameInput( StyleI ); - bIsHoldingButton = INPUTMAPPER->IsButtonDown( GameI ); + bIsHoldingButton = INPUTMAPPER->IsButtonDown( StyleI ); } int iEndRow = iRow + tn.iDuration;