fix a silly with joystick buttons

This commit is contained in:
Bill Currie 2001-09-04 04:28:31 +00:00
parent dc4cd343b5
commit 83e3f10520

View file

@ -66,7 +66,7 @@ JOY_Read (void)
} else { } else {
if (joy_buttons[event.number].current < if (joy_buttons[event.number].current <
joy_buttons[event.number].old) { joy_buttons[event.number].old) {
Key_Event (J_BUTTON2 + event.number, 0, false); Key_Event (J_BUTTON1 + event.number, 0, false);
} }
} }
joy_buttons[event.number].old = joy_buttons[event.number].current; joy_buttons[event.number].old = joy_buttons[event.number].current;