keydown is a bitmask, not a qboolean.

This commit is contained in:
Daniel Svensson 2023-12-22 10:51:51 +01:00
parent 21d3080fbe
commit c7eb4fb3b0
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ static unsigned int IN_GetKeyDest(void)
qboolean QDECL Plug_Input_IsKeyDown(int key)
{
extern qboolean keydown[K_MAX];
extern unsigned int keydown[K_MAX];
if (key >= 0 && key < K_MAX)
return !!keydown[key];
return false;