r1020 - trunk/code/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Dec 30 06:17:17 EST 2006
Author: ludwig
Date: 2006-12-30 06:17:17 -0500 (Sat, 30 Dec 2006)
New Revision: 1020
Modified:
trunk/code/client/cl_keys.c
Log:
using the function pointer time() doesn't make any sense. Passing down
the variable instead looks like the obvious fix.
Modified: trunk/code/client/cl_keys.c
===================================================================
--- trunk/code/client/cl_keys.c 2006-12-29 11:41:35 UTC (rev 1019)
+++ trunk/code/client/cl_keys.c 2006-12-30 11:17:17 UTC (rev 1020)
@@ -980,7 +980,7 @@
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 @@
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 );
More information about the quake3-commits
mailing list