This line confused me a bit.
parent
901b76e8d9
commit
0d59d285d1
|
@ -86,7 +86,7 @@ hook.Add("CalcView", "Disguiser.ThirdPersonCalcView", function(ply, pos, angles,
|
||||||
end
|
end
|
||||||
|
|
||||||
// Smoothing FOV change
|
// Smoothing FOV change
|
||||||
fov = targetfov
|
fov = targetfov -- comment or remove this to enable smoothing
|
||||||
fov = math.Approach(fov, targetfov, math.abs(targetfov - fov) * smoothscale)
|
fov = math.Approach(fov, targetfov, math.abs(targetfov - fov) * smoothscale)
|
||||||
|
|
||||||
return GAMEMODE:CalcView(ply, pos, angles, fov)
|
return GAMEMODE:CalcView(ply, pos, angles, fov)
|
||||||
|
|
Loading…
Reference in New Issue