mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
fix binding menu
This commit is contained in:
parent
05f60b2e33
commit
e3d805d4e7
1 changed files with 2 additions and 2 deletions
|
@ -1324,7 +1324,7 @@ void M_FindKeysForCommand (const char *command, int *twokeys)
|
|||
l = strlen(command);
|
||||
count = 0;
|
||||
|
||||
for (j = 0; j < 256; j++)
|
||||
for (j = 0; j < MAX_KEYS; j++)
|
||||
{
|
||||
b = keybindings[j];
|
||||
if (!b)
|
||||
|
@ -1347,7 +1347,7 @@ void M_UnbindCommand (const char *command)
|
|||
|
||||
l = strlen(command);
|
||||
|
||||
for (j = 0; j < 256; j++)
|
||||
for (j = 0; j < MAX_KEYS; j++)
|
||||
{
|
||||
b = keybindings[j];
|
||||
if (!b)
|
||||
|
|
Loading…
Reference in a new issue