Skip to content

The position of the weapon sprite while swaying now only updates at 35 Hz instead of at the refresh rate.

In 3.1, the refresh/frame rate affected how fast the weapon swayed if cl_swayspeed was non-zero. A higher or lower FPS (e.g. cl_capfps 1) meant that the weapon sprite swayed faster or slower respectively, instead of at a constant speed. With this change, the position of the sprite while swaying now updates only once per tick, making the speed consistent at any frame rate.

Some other minor adjustments were also made to normalize the sway speed to something reasonable.

Merge request reports