fix for jigglebones

This commit is contained in:
littlebabyman 2024-12-15 04:10:24 +02:00
parent 7f27a5a4ca
commit e46f55233e
2 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,7 @@ function SWEP:CalcView(ply, pos, ang, fov)
self.FOV = fov
ang = ang + (self:GetCameraControl() or angle_zero)
ang = ang + (self.StoredVMAngles or angle_zero)
if arc9_vm_cambob:GetBool() then
local sprintmult = arc9_vm_cambobwalk:GetBool() and 1 or Lerp(self:GetSprintAmount(), 0, 1)

View File

@ -206,6 +206,7 @@ function SWEP:ViewModelDrawn()
for ind = 0, 31 do
self:GetVM():SetSubMaterial(ind, "")
end
self.StoredVMAngles = self:GetCameraControl()
end
function SWEP:PostDrawViewModel()