mirror of
https://github.com/HaodongMo/ARC-9.git
synced 2025-03-04 03:02:58 -05:00
fix for jigglebones
This commit is contained in:
parent
7f27a5a4ca
commit
e46f55233e
@ -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)
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user