Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turrets would use the exact muzzle position when firing, but use the base position when getting ready to fire. This would result in a HMG tower pointing in the wrong direction half the time, bouncing up and down, if the target was close. The turret would correctly point down when firing, and revert to pointing horizontally between shots. Not using the exact muzzle position for direction, only for pitch, in case other code checks the direction too, and depends on the result being the same. Fixes ticket:2789.
- Loading branch information
Showing
1 changed file
with
15 additions
and
14 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