mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
This reverts commit b4b2404303
.
thanks to Speedy-Consoles for pointing out the commit Closes #54. Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
This commit is contained in:
parent
1f5849f6dc
commit
8a5d1100a5
|
@ -555,11 +555,11 @@ 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();
|
||||
/*// reset controls
|
||||
m_pClient->m_pControls->OnReset();*/
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue