Require analog magnitude for menu inputs

This commit is contained in:
AJ Martinez 2024-02-21 20:00:41 -07:00 committed by James R
parent c2eda6903a
commit a10cea56dc

View file

@ -972,7 +972,7 @@ INT32 G_PlayerInputAnalog(UINT8 p, INT32 gc, UINT8 menuPlayers)
boolean G_PlayerInputDown(UINT8 p, INT32 gc, UINT8 menuPlayers)
{
return (G_PlayerInputAnalog(p, gc, menuPlayers) != 0);
return (abs(G_PlayerInputAnalog(p, gc, menuPlayers)) >= JOYAXISRANGE/2);
}
//