Pass release to Step(). Doesn't do anything yet.
This commit is contained in:
@@ -2144,11 +2144,8 @@ void ScreenGameplay::Input( const InputEventPlus &input )
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/* Nothing below cares about releases. */
|
||||
if( input.type == IET_RELEASE )
|
||||
return;
|
||||
|
||||
|
||||
bool bRelease = input.type == IET_RELEASE;
|
||||
|
||||
if( GAMESTATE->m_bMultiplayer )
|
||||
{
|
||||
@@ -2157,7 +2154,7 @@ void ScreenGameplay::Input( const InputEventPlus &input )
|
||||
input.StyleI.IsValid() &&
|
||||
GAMESTATE->IsMultiPlayerEnabled(input.mp) )
|
||||
{
|
||||
m_vPlayerInfo[input.mp].m_pPlayer->Step( input.StyleI.col, -1, input.DeviceI.ts );
|
||||
m_vPlayerInfo[input.mp].m_pPlayer->Step( input.StyleI.col, -1, input.DeviceI.ts, false, bRelease );
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -2174,7 +2171,7 @@ void ScreenGameplay::Input( const InputEventPlus &input )
|
||||
if( PREFSMAN->m_AutoPlay == PC_HUMAN )
|
||||
{
|
||||
PlayerInfo& pi = GetPlayerInfoForInput( input );
|
||||
pi.m_pPlayer->Step( input.StyleI.col, -1, input.DeviceI.ts );
|
||||
pi.m_pPlayer->Step( input.StyleI.col, -1, input.DeviceI.ts, false, bRelease );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user