diff options
Diffstat (limited to 'code')
-rw-r--r-- | code/client/cl_keys.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/code/client/cl_keys.c b/code/client/cl_keys.c index 889ca82..31cbe33 100644 --- a/code/client/cl_keys.c +++ b/code/client/cl_keys.c @@ -1209,6 +1209,12 @@ void CL_CharEvent( int key ) { return; } + // delete is not a printable character and is + // otherwise handled by Field_KeyDownEvent + if ( key == 127 ) { + return; + } + // distribute the key down event to the apropriate handler if ( cls.keyCatchers & KEYCATCH_CONSOLE ) { |