fixed auto-completion for names in chat. closes #1914

This commit is contained in:
oy 2019-01-17 23:39:09 +01:00
parent 65a5eac17e
commit 6deaaf0159

View file

@ -270,7 +270,7 @@ bool CChat::OnInput(IInput::CEvent Event)
{
pCompletionString = m_pClient->m_aClients[Index].m_aName;
m_CompletionChosen = Index+SearchType*MAX_CLIENTS;
m_CompletionFav = m_CompletionChosen;
m_CompletionFav = m_CompletionChosen%MAX_CLIENTS;
break;
}
}