mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-20 19:02:37 +00:00
Fix chat toggle not working
This commit is contained in:
parent
d5e16dca63
commit
622509682a
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…
Reference in a new issue