mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2024-11-23 08:00:17 +00:00
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:
parent
95c56f9a01
commit
4bf4b4fc6d
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user