Fix completion rendering on new input

This commit is contained in:
def 2016-05-22 21:31:35 +02:00
parent 0217a76771
commit 63b92b729e

View file

@ -224,6 +224,7 @@ void CGameConsole::CInstance::OnInput(IInput::CEvent Event)
{
m_CompletionChosen = -1;
str_copy(m_aCompletionBuffer, m_Input.GetString(), sizeof(m_aCompletionBuffer));
m_CompletionRenderOffset = 0.0f;
}
// find the current command