mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Only use positive component of accel axis for menu KEY_ENTER behaviour
This commit is contained in:
parent
9e194dab2d
commit
b10c21c504
1 changed files with 1 additions and 1 deletions
|
@ -2633,7 +2633,7 @@ boolean M_Responder(event_t *ev)
|
||||||
if (cv_moveaxis.value < 0)
|
if (cv_moveaxis.value < 0)
|
||||||
retaxis = -retaxis;
|
retaxis = -retaxis;
|
||||||
|
|
||||||
if (joywaitaccel < thistime && (abs(retaxis) >= abs(pjoyaccel))) // only on upwards event
|
if (joywaitaccel < thistime && retaxis >= pjoyaccel) // only on upwards event
|
||||||
{
|
{
|
||||||
ch = KEY_ENTER;
|
ch = KEY_ENTER;
|
||||||
joywaitaccel = thistime;
|
joywaitaccel = thistime;
|
||||||
|
|
Loading…
Reference in a new issue