From a3ece0ec269afc8ec40b7d1ffb987327ce4e2d9b Mon Sep 17 00:00:00 2001 From: tjw Date: Thu, 22 Mar 2007 22:03:00 +0000 Subject: * (bug 2741) replace K_LAST_KEY with MAX_KEYS. K_LAST_KEY is now defined at 256 for mod compatability reasons. ioq3-only mods may chose to use MAX_KEYS for checking binds in order to get full key support, but at the cost of breaking compatability with older clients. * (bug 2741) remove some lingering 256-key hardcoding * properly check bounds of keynum in Key_IsDown(), Key_SetBinding(), and Key_GetBinding() git-svn-id: svn://svn.icculus.org/quake3/trunk@1053 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/keys.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'code/client/keys.h') diff --git a/code/client/keys.h b/code/client/keys.h index 00fc9db..851d367 100644 --- a/code/client/keys.h +++ b/code/client/keys.h @@ -21,8 +21,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #include "keycodes.h" -#define MAX_KEYS 384 - typedef struct { qboolean down; int repeats; // if > 1, it is autorepeating -- cgit v1.2.3