print out modifiers when unbinding

This commit is contained in:
plsplsplslol 2020-09-27 17:38:50 -07:00
parent af958704ca
commit 236015c474

View file

@ -59,7 +59,7 @@ void CBinds::Bind(int KeyID, const char *pStr, bool FreeOnly, int Modifier)
char aBuf[256];
if(!pStr[0])
{
str_format(aBuf, sizeof(aBuf), "unbound %s (%d)", Input()->KeyName(KeyID), KeyID);
str_format(aBuf, sizeof(aBuf), "unbound %s%s (%d)", GetKeyBindModifiersName(Modifier), Input()->KeyName(KeyID), KeyID);
}
else
{