mirror of
https://github.com/HaodongMo/ARC-9.git
synced 2025-03-04 03:02:58 -05:00
b
This commit is contained in:
parent
a07b218812
commit
92801fed26
@ -23,11 +23,6 @@ function SWEP:DrawLaser(pos, dir, atttbl, behav)
|
||||
|
||||
local width = math.Rand(0.1, 0.2) * strength
|
||||
|
||||
if behavior then
|
||||
cam.Start3D(nil, nil, nil, 0, 0, ScrW(), ScrH(), 4, 32000)
|
||||
pos = pos - (dir * 256)
|
||||
end
|
||||
|
||||
local hit = tr.Hit
|
||||
local hitpos = tr.HitPos
|
||||
|
||||
@ -60,10 +55,6 @@ function SWEP:DrawLaser(pos, dir, atttbl, behav)
|
||||
render.DrawSprite(hitpos, rad, rad, dotcolor)
|
||||
render.DrawSprite(hitpos, rad * 0.3, rad * 0.3, whitedotcolor)
|
||||
end
|
||||
|
||||
if behavior then
|
||||
cam.End3D()
|
||||
end
|
||||
end
|
||||
|
||||
function SWEP:DrawLasers(wm, behav)
|
||||
|
Loading…
Reference in New Issue
Block a user