]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Match Q3 wishspeed and wishdir calculations 1441/head
authorbones_was_here <bones_was_here@xonotic.au>
Wed, 22 Jan 2025 18:18:10 +0000 (04:18 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Tue, 11 Feb 2025 16:58:14 +0000 (02:58 +1000)
commitf671ff556dc561fd81bc6f31039a5c37333a948b
treedb4b95474475aa4668a626f83fbefdc8dfb4d56d
parent4c7b53351a57b465aa2396c31de39da342399c93
Match Q3 wishspeed and wishdir calculations

This is equivalent to the relevant change in
0e542a1e3052b8bfe744b6ab34fe62de005b379d and produces the same pipeline
hash (ie the same hash as given by reverting
bec7b1df67bdb738bd65cdb261fe4e6a30890073).

It's written `wishvel * (1 / wishspeed)` because that's how Q3 does it.
The difference in the result is insignificant for normal gametypes but
might be significant for Q3 DeFRaG compatibility in extreme cases.

See https://gitlab.com/xonotic/xonotic-data.pk3dir/-/merge_requests/1438
for discussion.
.gitlab-ci.yml
qcsrc/ecs/systems/physics.qc