mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
Some "slowkey" tuning.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@799 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
b557bbe95d
commit
a73ecdeb79
2 changed files with 6 additions and 6 deletions
|
@ -324,10 +324,8 @@ void CL_BaseMove (usercmd_t *cmd)
|
|||
//
|
||||
// adjust for speed key
|
||||
//
|
||||
if (cl_forwardspeed.value > 200 && cl_movespeedkey.value != 0)
|
||||
{
|
||||
if (cl_forwardspeed.value > 200 && cl_movespeedkey.value)
|
||||
cmd->forwardmove /= cl_movespeedkey.value;
|
||||
}
|
||||
if ((cl_forwardspeed.value > 200) ^ (in_speed.state & 1))
|
||||
{
|
||||
cmd->forwardmove *= cl_movespeedkey.value;
|
||||
|
|
|
@ -1037,10 +1037,12 @@ void M_AdjustSliders (int dir)
|
|||
break;
|
||||
|
||||
case OPT_ALWAYRUN: // always run
|
||||
if (cl_forwardspeed.value > 200 || cl_movespeedkey.value <= 1)
|
||||
if (cl_movespeedkey.value <= 1)
|
||||
Cvar_Set ("cl_movespeedkey", "2.0");
|
||||
if (cl_forwardspeed.value > 200)
|
||||
{
|
||||
Cvar_SetValue ("cl_forwardspeed", 200);
|
||||
Cvar_SetValue ("cl_backspeed", 200);
|
||||
Cvar_Set ("cl_forwardspeed", "200");
|
||||
Cvar_Set ("cl_backspeed", "200");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue