This line confused me a bit.

master
Icedream 2014-10-20 11:30:22 +02:00
parent 901b76e8d9
commit 0d59d285d1
1 changed files with 1 additions and 1 deletions

View File

@ -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)