2694: Fix mouse interaction when game console is open r=def- a=BannZay

fixes #2685

Co-authored-by: Andrii <bannzay3@gmail.com>
This commit is contained in:
bors[bot] 2020-08-31 19:55:34 +00:00 committed by GitHub
commit f00cab1b55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -758,8 +758,8 @@ void CGameConsole::Toggle(int Type)
if (m_ConsoleState == CONSOLE_CLOSED || m_ConsoleState == CONSOLE_CLOSING)
{
/*Input()->MouseModeAbsolute();
m_pClient->m_pMenus->UseMouseButtons(false);*/
/*Input()->MouseModeAbsolute();*/
m_pClient->m_pMenus->UseMouseButtons(false);
m_ConsoleState = CONSOLE_OPENING;
/*// reset controls
m_pClient->m_pControls->OnReset();*/