Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Matherunner committed Apr 7, 2014
1 parent 017ac68 commit 438d48d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cl_dll/inputw32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ void CL_DLLEXPORT IN_ActivateMouse (void)
restore_spi = SystemParametersInfo (SPI_SETMOUSE, 0, newmouseparms, 0);

#endif
SDL_SetRelativeMouseMode(SDL_TRUE);
mouseactive = 1;
}
}
Expand All @@ -252,7 +253,7 @@ void CL_DLLEXPORT IN_DeactivateMouse (void)
SystemParametersInfo (SPI_SETMOUSE, 0, originalmouseparms, 0);

#endif

SDL_SetRelativeMouseMode(SDL_FALSE);
mouseactive = 0;
}
}
Expand Down

0 comments on commit 438d48d

Please sign in to comment.