diff options
Diffstat (limited to 'src/jake2/client')
-rw-r--r-- | src/jake2/client/Key.java | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/jake2/client/Key.java b/src/jake2/client/Key.java index 887f3a1..2a0a45f 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.9 2005-06-06 18:22:20 hzi Exp $ + * $Id: Key.java,v 1.10 2005-06-07 08:43:11 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -301,13 +301,9 @@ public class Key extends Globals { // update auto-repeat status if (down) { key_repeats[key]++; - if (key != K_BACKSPACE - && key != K_PAUSE - && key != K_PGUP - && key != K_KP_PGUP - && key != K_PGDN - && key != K_KP_PGDN - && key_repeats[key] > 1) + if (key_repeats[key] > 1 + && Globals.cls.key_dest == Defines.key_game + && !(Globals.cls.state == Defines.ca_disconnected)) return; // ignore most autorepeats if (key >= 200 && Globals.keybindings[key] == null) |