aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/client/cl_keys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/client/cl_keys.c b/code/client/cl_keys.c
index 14be81e..ed601be 100644
--- a/code/client/cl_keys.c
+++ b/code/client/cl_keys.c
@@ -980,7 +980,7 @@ void CL_InitKeyCommands( void ) {
CL_AddKeyUpCommands
===================
*/
-void CL_AddKeyUpCommands( int key, char *kb ) {
+void CL_AddKeyUpCommands( int key, char *kb, unsigned time) {
int i;
char button[1024], *buttonPtr;
char cmd[1024];
@@ -1126,7 +1126,7 @@ void CL_KeyEvent (int key, qboolean down, unsigned time) {
if (!down) {
kb = keys[key].binding;
- CL_AddKeyUpCommands( key, kb );
+ CL_AddKeyUpCommands( key, kb, time );
if ( cls.keyCatchers & KEYCATCH_UI && uivm ) {
VM_Call( uivm, UI_KEY_EVENT, key, down );