Fix chat toggle not working
This commit is contained in:
parent
d5e16dca63
commit
622509682a
|
@ -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…
Reference in New Issue