mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-02 03:36:14 +00:00
Fix chat toggle not working
This commit is contained in:
parent
65a3b9f765
commit
93908a5610
1 changed files with 4 additions and 2 deletions
|
|
@ -1184,8 +1184,10 @@ boolean HU_Responder(event_t *ev)
|
|||
|| ev->data1 == KEY_LALT || ev->data1 == KEY_RALT)
|
||||
return true;
|
||||
|
||||
// Ignore joystick hats
|
||||
if (ev->data1 >= KEY_HAT1 && ev->data1 <= KEY_HAT1 + 3)
|
||||
// Ignore joystick hats, except when the talk key is bound
|
||||
if (ev->data1 >= KEY_HAT1 && ev->data1 <= KEY_HAT1+3
|
||||
&& (ev->data1 != gamecontrol[gc_talkkey][0]
|
||||
&& ev->data1 != gamecontrol[gc_talkkey][1]))
|
||||
return false;
|
||||
|
||||
c = (INT32)ev->data1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue