Fixes the rawinput not working without in_restart bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3339 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
3fb15701b1
commit
fd713df2e1
1 changed files with 5 additions and 0 deletions
|
@ -1167,6 +1167,9 @@ void IN_StartupMouse (void)
|
|||
|
||||
mouseinitialized = true;
|
||||
|
||||
//make sure it can't get stuck
|
||||
IN_DeactivateMouse ();
|
||||
|
||||
#ifdef AVAIL_DINPUT
|
||||
if (in_dinput.value)
|
||||
{
|
||||
|
@ -1348,6 +1351,8 @@ IN_Shutdown
|
|||
*/
|
||||
void IN_Shutdown (void)
|
||||
{
|
||||
mouseinitialized = false;
|
||||
|
||||
IN_DeactivateMouse ();
|
||||
IN_ShowMouse ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue