From f14e7369f13d83a469fa6a539321dab2b4e5c90e Mon Sep 17 00:00:00 2001 From: Tom Adams Date: Mon, 31 May 2010 21:40:40 +0000 Subject: fixed movement bug (#741) --- src/game/client/components/console.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/client/components/console.cpp') diff --git a/src/game/client/components/console.cpp b/src/game/client/components/console.cpp index 7de85f69..742b6b2d 100644 --- a/src/game/client/components/console.cpp +++ b/src/game/client/components/console.cpp @@ -21,6 +21,7 @@ #include #include +#include #include #include "console.h" @@ -533,6 +534,8 @@ void CGameConsole::Toggle(int Type) Input()->MouseModeAbsolute(); m_pClient->m_pMenus->UseMouseButtons(false); m_ConsoleState = CONSOLE_OPENING; + // reset controls + m_pClient->m_pControls->OnReset(); } else { -- cgit 1.4.1