diff --git a/src/game/client/components/binds.cpp b/src/game/client/components/binds.cpp index 5e346b6da..e92c7fc9f 100644 --- a/src/game/client/components/binds.cpp +++ b/src/game/client/components/binds.cpp @@ -98,7 +98,7 @@ const char *CBinds::GetKey(const char *pBindStr) for(int KeyId = 0; KeyId < KEY_LAST; KeyId++) { const char *pBind = Get(KeyId); - if(!pBind[0]) + if(!pBind) continue; if(str_comp(pBind, pBindStr) == 0)