aboutsummaryrefslogtreecommitdiffstats
path: root/code/client
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-12-30 11:17:17 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-12-30 11:17:17 +0000
commitf9603c1e49e8a54e100c0127e259b4c1d51a15fc (patch)
tree2fe514ac0a7c04015a1cb71ea54c7a96dfbc395a /code/client
parent0f3fab33bf1c143e1807a7bc333fb73c5f85a41a (diff)
downloadioquake3-aero-f9603c1e49e8a54e100c0127e259b4c1d51a15fc.tar.gz
ioquake3-aero-f9603c1e49e8a54e100c0127e259b4c1d51a15fc.zip
using the function pointer time() doesn't make any sense. Passing down
the variable instead looks like the obvious fix. git-svn-id: svn://svn.icculus.org/quake3/trunk@1020 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client')
-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 );