mirror of
https://github.com/HaodongMo/ArcCW.git
synced 2025-03-04 03:13:30 -05:00
Update cl_viewmodel.lua
This commit is contained in:
parent
3518bf7e4b
commit
7e8a3f4d45
@ -841,7 +841,7 @@ function SWEP:PreDrawViewModel(vm)
|
||||
end
|
||||
|
||||
cam.Start3D(EyePos(), EyeAngles(), self:QuickFOVix(coolFOV), nil, nil, nil, nil, 0.5, 1000)
|
||||
cam.IgnoreZ(true)
|
||||
render.DepthRange(0.0, 0.1)
|
||||
self:DrawCustomModel(false)
|
||||
self:DoLHIK()
|
||||
|
||||
@ -864,7 +864,7 @@ function SWEP:PostDrawViewModel()
|
||||
render.SetBlend(1)
|
||||
cam.End3D()
|
||||
cam.Start3D(EyePos(), EyeAngles(), self:QuickFOVix(self.CurrentViewModelFOV or self.ViewModelFOV), nil, nil, nil, nil, 0.5, 1000)
|
||||
cam.IgnoreZ(true)
|
||||
render.DepthRange(0.0, 0.1)
|
||||
|
||||
if ArcCW.Overdraw then
|
||||
ArcCW.Overdraw = false
|
||||
|
Loading…
Reference in New Issue
Block a user