Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix weapon pickup through walls (#1662)
Add check for trace start solid to prevent teleporting weapon through walls. Edgecases can occur where weapons can be picked up through walls (even thick 16 unit walls didn't prevent this). This is because the trace can start solid (most likely if the weapon is too large for the space its resting, in my case a relatively small func_detail shelf) and then the tr.Fraction will return 1.0 through a solid wall, causing weapons the be teleported and picked up.
- Loading branch information