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 iconst 0
sound_synth sound_synth
iconst 225 iconst 225
sconst "lookPreservePitch"
runelite_callback
iconst 5 iconst 5
randominc randominc
add add
sconst "lookPreservePitch"
runelite_callback
iload 1 ; load target angle iload 1 ; load target angle
cam_forceangle cam_forceangle
return return