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:
svdijk 2013-02-03 17:22:59 +00:00
parent b557bbe95d
commit a73ecdeb79
2 changed files with 6 additions and 6 deletions

View file

@ -324,10 +324,8 @@ void CL_BaseMove (usercmd_t *cmd)
// //
// adjust for speed key // 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; cmd->forwardmove /= cl_movespeedkey.value;
}
if ((cl_forwardspeed.value > 200) ^ (in_speed.state & 1)) if ((cl_forwardspeed.value > 200) ^ (in_speed.state & 1))
{ {
cmd->forwardmove *= cl_movespeedkey.value; cmd->forwardmove *= cl_movespeedkey.value;

View file

@ -1037,10 +1037,12 @@ void M_AdjustSliders (int dir)
break; break;
case OPT_ALWAYRUN: // always run 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_Set ("cl_forwardspeed", "200");
Cvar_SetValue ("cl_backspeed", 200); Cvar_Set ("cl_backspeed", "200");
} }
else else
{ {