input: handle cl_run in CL_AdjustAngles() as well

Signed-off-by: svdijk <svdijk@users.sourceforge.net>
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
svdijk 2013-06-26 20:27:29 +02:00 committed by Kevin Shanahan
parent 95c56f9a01
commit 4bf4b4fc6d
2 changed files with 2 additions and 2 deletions

View File

@ -418,7 +418,7 @@ CL_AdjustAngles(void)
float speed;
float up, down;
if (in_speed.state & 1)
if ((in_speed.state & 1) ^ (int)cl_run.value)
speed = host_frametime * cl_anglespeedkey.value;
else
speed = host_frametime;

View File

@ -415,7 +415,7 @@ CL_AdjustAngles(void)
float speed;
float up, down;
if (in_speed.state & 1)
if ((in_speed.state & 1) ^ (int)cl_run.value)
speed = host_frametime * cl_anglespeedkey.value;
else
speed = host_frametime;