aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/cl_keys.c
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-19 17:45:29 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-19 17:45:29 +0000
commit275b73aa64da7c4b5083216d273877380ceebe73 (patch)
tree6e26bdbc5a43c5d26a21d090ff4e9840ed61670b /code/client/cl_keys.c
parent9170f3b736b0cfd2818333cf60e2c4ff1959e30f (diff)
downloadioquake3-aero-275b73aa64da7c4b5083216d273877380ceebe73.tar.gz
ioquake3-aero-275b73aa64da7c4b5083216d273877380ceebe73.zip
* Fix to multiple buffer overflow bugs in CL_Rcon_f
* Fix to COM_ParseExt 1 byte overwrite bug * Fixed some missing calls to trap_FS_FCloseFile * Fixed q3msgboom and q3infoboom bugs * Fixed some qboolean type confusion * Above fixes from http://www.quakesrc.org/forums/viewtopic.php?t=5374 git-svn-id: svn://svn.icculus.org/quake3/trunk@95 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client/cl_keys.c')
-rw-r--r--code/client/cl_keys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/client/cl_keys.c b/code/client/cl_keys.c
index 1ccfc52..cf14d97 100644
--- a/code/client/cl_keys.c
+++ b/code/client/cl_keys.c
@@ -42,7 +42,7 @@ int chat_playerNum;
qboolean key_overstrikeMode;
-qboolean anykeydown;
+int anykeydown;
qkey_t keys[MAX_KEYS];
@@ -1238,7 +1238,7 @@ void Key_ClearStates (void)
{
int i;
- anykeydown = qfalse;
+ anykeydown = 0;
for ( i=0 ; i < MAX_KEYS ; i++ ) {
if ( keys[i].down ) {