"Globhit" check

This commit is contained in:
Fesiug 2023-10-09 03:00:32 -04:00
parent 0b062dccbf
commit deaa0d50f5
1 changed files with 4 additions and 4 deletions

View File

@ -322,10 +322,10 @@ hook.Add( "CalcView", "MyCalcView", function( ply, pos, ang, fov )
view.fov = tonumber(st[7])
end
-- if globhit then
if globhit then
globhit:Set( view.origin )
globang:Set( view.angles )
-- end
end
view.fov = Convert( view.fov, (ScrH()/ScrW())/(3/4) )
return view