mirror of
https://github.com/HaodongMo/ARC-9.git
synced 2025-03-04 03:02:58 -05:00
fix hybrids
This commit is contained in:
parent
788aa57c87
commit
7a28b45c04
@ -144,6 +144,6 @@ end
|
||||
function SWEP:SetHoloSightRenderDepth(mdl, depthadj)
|
||||
local eyedist = WorldToLocal(mdl:GetPos(), mdl:GetAngles(), EyePos(), EyeAngles()).x
|
||||
|
||||
render.DepthRange(0, (depthadj or 0.0093) + (0.0005 * eyedist / 20))
|
||||
render.DepthRange(0, 0.1+(depthadj or 0.0093) + (0.0005 * eyedist / 20))
|
||||
-- render.DepthRange(0, (eyedist + 77.99) / 10000)
|
||||
end
|
Loading…
Reference in New Issue
Block a user