mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-09 18:31:53 +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)
|
|| ev->data1 == KEY_LALT || ev->data1 == KEY_RALT)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// Ignore joystick hats
|
// Ignore joystick hats, except when the talk key is bound
|
||||||
if (ev->data1 >= KEY_HAT1 && ev->data1 <= KEY_HAT1 + 3)
|
if (ev->data1 >= KEY_HAT1 && ev->data1 <= KEY_HAT1+3
|
||||||
|
&& (ev->data1 != gamecontrol[gc_talkkey][0]
|
||||||
|
&& ev->data1 != gamecontrol[gc_talkkey][1]))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
c = (INT32)ev->data1;
|
c = (INT32)ev->data1;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue