mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
fixed auto-completion for names in chat. closes #1914
This commit is contained in:
parent
65a5eac17e
commit
6deaaf0159
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue