"Globhit" check
This commit is contained in:
parent
0b062dccbf
commit
deaa0d50f5
|
@ -322,10 +322,10 @@ hook.Add( "CalcView", "MyCalcView", function( ply, pos, ang, fov )
|
||||||
view.fov = tonumber(st[7])
|
view.fov = tonumber(st[7])
|
||||||
end
|
end
|
||||||
|
|
||||||
-- if globhit then
|
if globhit then
|
||||||
globhit:Set( view.origin )
|
globhit:Set( view.origin )
|
||||||
globang:Set( view.angles )
|
globang:Set( view.angles )
|
||||||
-- end
|
end
|
||||||
|
|
||||||
view.fov = Convert( view.fov, (ScrH()/ScrW())/(3/4) )
|
view.fov = Convert( view.fov, (ScrH()/ScrW())/(3/4) )
|
||||||
return view
|
return view
|
||||||
|
|
Loading…
Reference in New Issue