]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Revert "Don't allow negative values for the y component of the shot origin offset...
authorterencehill <piuntn@gmail.com>
Sat, 16 Mar 2024 01:52:31 +0000 (02:52 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 16 Mar 2024 01:52:31 +0000 (02:52 +0100)
commitb39e6566b9bc453b2c53ce136c12b44b370d387b
tree94cb3b700b2d3819d139af2d570c4ef21ebeaa97
parent005a4df13f82d77bb4ec4769ed13a08c41307a03
Revert "Don't allow negative values for the y component of the shot origin offset because the gun can't be aligned to the left by default. Thanks to this change it's possible to restore precision of the y and z components back to 0.25"

because player weapon alignment (cl_gunalign) is applied before compression, thus the y component can be negative.

This reverts commit 490abae3d36ba1d00c0884adc56e5f4905bab439. It fixes #2896
qcsrc/common/util.qc