-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Entity Base: Added throw space check (#1413)
Previously you were always able to throw devices (beacon, radio etc). This could cause issues when really close to a wall as they would glitch through it. I added the same check to it, that the weapon dropping also uses. While working on that I decreased the min distance to a wall when dropping a weapon as I noticed that a smaller distance works as well and improves the weapon pickup in tight corners. My testing also showed no glitches with this change. This should fix the issue @mexikoedi was having.
- Loading branch information
Showing
3 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters