mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
fix a silly with joystick buttons
This commit is contained in:
parent
dc4cd343b5
commit
83e3f10520
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue