From: havoc Date: Wed, 26 May 2004 11:25:12 +0000 (+0000) Subject: Tomaz fixed key repeats in the console X-Git-Tag: xonotic-v0.1.0preview~5815 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f08a0f615d767b41ee52c6f1dbfb121fdc32f9ce;p=xonotic%2Fdarkplaces.git Tomaz fixed key repeats in the console git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4244 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/keys.c b/keys.c index e3048b76..8d6d2e16 100644 --- a/keys.c +++ b/keys.c @@ -882,7 +882,7 @@ Key_Event (int key, char ascii, qboolean down) key_repeats[key]++; if (key_repeats[key] > 1) { if ((key_consoleactive && !consolekeys[key]) || - (key_dest == key_game && + (!key_consoleactive && key_dest == key_game && (cls.state == ca_connected && cls.signon == SIGNONS))) return; // ignore most autorepeats }