phase out StyleI.player
This commit is contained in:
@@ -886,8 +886,7 @@ void ScreenEdit::Update( float fDeltaTime )
|
||||
{
|
||||
for( int t=0; t<GAMESTATE->GetCurrentStyle()->m_iColsPerPlayer; t++ ) // for each track
|
||||
{
|
||||
StyleInput StyleI( PLAYER_1, t );
|
||||
float fSecsHeld = INPUTMAPPER->GetSecsHeld( StyleI, PLAYER_1 );
|
||||
float fSecsHeld = INPUTMAPPER->GetSecsHeld( t, PLAYER_1 );
|
||||
fSecsHeld = min( fSecsHeld, m_RemoveNoteButtonLastChanged.Ago() );
|
||||
if( fSecsHeld == 0 )
|
||||
continue;
|
||||
@@ -934,8 +933,7 @@ void ScreenEdit::Update( float fDeltaTime )
|
||||
bool bButtonIsBeingPressed = false;
|
||||
for( int t=0; t<GAMESTATE->GetCurrentStyle()->m_iColsPerPlayer; t++ ) // for each track
|
||||
{
|
||||
StyleInput StyleI( PLAYER_1, t );
|
||||
if( INPUTMAPPER->IsBeingPressed(StyleI, PLAYER_1) )
|
||||
if( INPUTMAPPER->IsBeingPressed(t, PLAYER_1) )
|
||||
bButtonIsBeingPressed = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user