mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 03:39:02 +00:00
CPad fix
This commit is contained in:
parent
3989e3df18
commit
077bcf1c82
1 changed files with 1 additions and 1 deletions
|
@ -1610,7 +1610,7 @@ int16 CPad::GetSteeringUpDown(void)
|
||||||
case 2:
|
case 2:
|
||||||
{
|
{
|
||||||
int16 axis = NewState.LeftStickY;
|
int16 axis = NewState.LeftStickY;
|
||||||
int16 dpad = (NewState.DPadUp - NewState.DPadDown) / 2;
|
int16 dpad = (NewState.DPadDown - NewState.DPadUp) / 2;
|
||||||
|
|
||||||
if ( Abs(axis) > Abs(dpad) )
|
if ( Abs(axis) > Abs(dpad) )
|
||||||
return axis;
|
return axis;
|
||||||
|
|
Loading…
Reference in a new issue