]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Fix regression causing damagetext to always accumulate if cl_damagetext_accumulate_li... terencehill/damagetext_fix 1489/head
authorterencehill <piuntn@gmail.com>
Sat, 15 Mar 2025 11:53:04 +0000 (12:53 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 15 Mar 2025 11:53:04 +0000 (12:53 +0100)
commitb3e6878aa21e0746d4e91ea45cedfacc3ad25ca3
treec441c8b03791550d8ada96b5e39da292f2413a0a
parenta334c080a10ee5e7867c3136c7a2a334ff16a732
Fix regression causing damagetext to always accumulate if cl_damagetext_accumulate_lifetime is -1

regardless of cl_damagetext_accumulate_alpha_rel

This commit changes default damagetext behaviour so that it doesn't accumulate if the alpha of the
previous damage text is < 0.65 (after about 1 second), restoring Xonotic 0.8.6 behaviour.

This regression was introduced by https://gitlab.com/xonotic/xonotic-data.pk3dir/-/merge_requests/1249
(more precisely commit 2bb671115) and f44a79054f
qcsrc/common/mutators/mutator/damagetext/cl_damagetext.qc
xonotic-client.cfg