some input cleanup, restarts should work a bit better
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2271 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
0d6d61e31c
commit
640524e990
8 changed files with 95 additions and 75 deletions
|
@ -284,11 +284,18 @@ void Sys_SendKeyEvents(void)
|
|||
void IN_Shutdown (void)
|
||||
{
|
||||
}
|
||||
|
||||
void IN_ReInit (void)
|
||||
{
|
||||
IN_ActivateMouse();
|
||||
}
|
||||
|
||||
void IN_Init (void)
|
||||
{
|
||||
#ifdef IN_XFLIP
|
||||
Cvar_Register (&in_xflip, "Input Controls");
|
||||
#endif
|
||||
IN_ReInit();
|
||||
}
|
||||
void IN_Move (usercmd_t *cmd, int pnum) //add mouse movement to cmd
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue