mirror of
https://github.com/etlegacy/etlegacy-lua-scripts.git
synced 2024-11-28 15:12:17 +00:00
fix trap_trace error
* added missing argument
This commit is contained in:
parent
c4f8211060
commit
1989f9e030
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ function checkMedicSyringeHeal(healer)
|
|||
-- stuck in solid, offset the origin forward
|
||||
if result.startsolid then
|
||||
endpt = multAddVector(muzzlept, 8, forward)
|
||||
result = et.trap_Trace(muzzlept, nil, nil, healer, et.MASK_SHOT)
|
||||
result = et.trap_Trace(muzzlept, nil, nil, endpt, healer, et.MASK_SHOT)
|
||||
end
|
||||
-- no hit, give back syringe
|
||||
if result.fraction == 1.0 or result.entityNum >= et.MAX_CLIENTS then
|
||||
|
|
Loading…
Reference in a new issue