From a2cb6abac02c100602d61185223e362b74468b07 Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 27 Apr 2005 15:52:15 +0000 Subject: [PATCH] Guess who got the parameters the wrong way around. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@982 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/pr_csqc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/client/pr_csqc.c b/engine/client/pr_csqc.c index ba1bd1abc..33e2dc8ee 100644 --- a/engine/client/pr_csqc.c +++ b/engine/client/pr_csqc.c @@ -1678,8 +1678,8 @@ qboolean CSQC_KeyPress(int key, qboolean down) return false; pr_globals = PR_globals(csqcprogs, PR_CURRENT); - G_FLOAT(OFS_PARM0) = key; - G_FLOAT(OFS_PARM1) = !down; + G_FLOAT(OFS_PARM0) = !down; + G_FLOAT(OFS_PARM1) = key; G_FLOAT(OFS_PARM2) = 0; PR_ExecuteProgram (csqcprogs, csqcg.input_event);