This commit is contained in:
Glenn Maynard
2005-10-13 08:22:49 +00:00
parent 353bbc7d86
commit 455d0c7378
+1 -2
View File
@@ -527,8 +527,7 @@ void Player::Update( float fDeltaTime )
CHECKPOINT_M( ssprintf("%i %i", col, iNumCols) );
const StyleInput StyleI( pn, col );
const GameInput GameI = GAMESTATE->GetCurrentStyle()->StyleInputToGameInput( StyleI );
bool bIsHoldingButton = INPUTMAPPER->IsButtonDown( GameI );
bool bIsHoldingButton = INPUTMAPPER->IsButtonDown( StyleI );
// TODO: Make this work for non-human-controlled players
if( bIsHoldingButton && !GAMESTATE->m_bDemonstrationOrJukebox && m_pPlayerState->m_PlayerController==PC_HUMAN )
if( m_pNoteField )