Merge pull request #13680 from LlemonDuck/fix-camera-pitch-jitter

camera: prevent pitch increment with "preserve pitch" enabled
This commit is contained in:
Jordan
2021-06-11 08:01:54 +00:00
committed by GitHub

View File

@@ -47,11 +47,11 @@ LOOK:
iconst 0
sound_synth
iconst 225
sconst "lookPreservePitch"
runelite_callback
iconst 5
randominc
add
sconst "lookPreservePitch"
runelite_callback
iload 1 ; load target angle
cam_forceangle
return