mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
added an in_restart (I'm sure it breaks somewhere...)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1977 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
cb3f383214
commit
20b13f2b0d
1 changed files with 7 additions and 0 deletions
|
@ -328,6 +328,12 @@ void IN_Impulse (void)
|
|||
in_impulsespending[pnum]++;
|
||||
}
|
||||
|
||||
void IN_Restart()
|
||||
{
|
||||
IN_Shutdown();
|
||||
IN_Init();
|
||||
}
|
||||
|
||||
/*
|
||||
===============
|
||||
CL_KeyState
|
||||
|
@ -1541,6 +1547,7 @@ void CL_InitInput (void)
|
|||
CL_RegisterSplitCommands();
|
||||
|
||||
Cmd_AddCommand("rotate", IN_Rotate_f);
|
||||
Cmd_AddCommand("in_restart", IN_Restart);
|
||||
|
||||
Cvar_Register (&cl_nodelta, inputnetworkcvargroup);
|
||||
|
||||
|
|
Loading…
Reference in a new issue