aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/client
diff options
context:
space:
mode:
authorHolger Zickner <[email protected]>2005-06-06 13:32:06 +0000
committerHolger Zickner <[email protected]>2005-06-06 13:32:06 +0000
commit684416e41caa0cf877bbdb2b70d914970d44c7cb (patch)
tree15608533a7fd76d4eff80a6313885ff7d33f1d6e /src/jake2/client
parent578f8e93e01f36186a6199abfac7fd9ceb2a3575 (diff)
handle keys with AltGr properly
Diffstat (limited to 'src/jake2/client')
-rw-r--r--src/jake2/client/Key.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/jake2/client/Key.java b/src/jake2/client/Key.java
index 087aec1..f2cfc97 100644
--- a/src/jake2/client/Key.java
+++ b/src/jake2/client/Key.java
@@ -2,7 +2,7 @@
* Key.java
* Copyright (C) 2003
*
- * $Id: Key.java,v 1.7 2004-10-28 18:15:25 cawe Exp $
+ * $Id: Key.java,v 1.8 2005-06-06 13:30:40 hzi Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -424,14 +424,17 @@ public class Key extends Globals {
switch (Globals.cls.key_dest) {
case Defines.key_message :
Key.Message(key);
+ key_repeats[key] = 0;
break;
case Defines.key_menu :
Menu.Keydown(key);
+ key_repeats[key] = 0;
break;
case Defines.key_game :
case Defines.key_console :
Key.Console(key);
+ key_repeats[key] = 0;
break;
default :
Com.Error(Defines.ERR_FATAL, "Bad cls.key_dest");