mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Fix "bind <key>" message for unbound keys
"bind X cmd; unbind X; bind X" now says '"x" is unbound' instead of '"x" = ""'
This commit is contained in:
parent
3d69ae9995
commit
d4c6711e51
1 changed files with 1 additions and 1 deletions
|
@ -992,7 +992,7 @@ void Key_Bind_f (void)
|
|||
|
||||
if (c == 2)
|
||||
{
|
||||
if (keys[b].binding)
|
||||
if (keys[b].binding && keys[b].binding[0])
|
||||
Com_Printf ("\"%s\" = \"%s\"\n", Key_KeynumToString(b), keys[b].binding );
|
||||
else
|
||||
Com_Printf ("\"%s\" is not bound\n", Key_KeynumToString(b) );
|
||||
|
|
Loading…
Reference in a new issue