]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Center switch lines on strafehud
authorotta8634 <k9wolf@pm.me>
Sun, 1 Sep 2024 14:26:44 +0000 (22:26 +0800)
committerotta8634 <k9wolf@pm.me>
Mon, 2 Sep 2024 07:11:18 +0000 (15:11 +0800)
commit13a2778327c1c854d458f87261bcbe14cfbc56f8
tree0f3f61efe6d114234d8823afda3fe11d11b7110e
parent9d64040c9051a16f1c12a9c645317d183c3bdaf8
Center switch lines on strafehud

Previously the angle to aim at was the inner edge of the switch line,
... which is unintuitive and different to all other hud lines (eg. angle, bestangle, wturn)
This also stops calculation of angles for switch/wturn/direction if they're never going to be rendered
qcsrc/client/hud/panel/strafehud.qc