Skip to content

Commit

Permalink
IND PHYSICS: fps shouldn't affect yawspeed
Browse files Browse the repository at this point in the history
If independent physics enabled, use physframetime
  instead to scale by 1/77fps, as this is only called
  when sending packet to server
Reported by veganaize in QW-Group#550
  • Loading branch information
meag committed Jun 25, 2021
1 parent a83a163 commit 499d99a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cl_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ void CL_AdjustAngles(void)
{
float basespeed, speed, up, down, frametime;

frametime = cls.trueframetime;
frametime = (cl_independentPhysics.value == 0 ? cls.trueframetime : physframetime);
if (Movie_IsCapturing()) {
frametime = Movie_InputFrametime();
}
Expand Down

0 comments on commit 499d99a

Please sign in to comment.