]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
trigger_hurt q3compat: always damage player at 20hz in "fast" mode
authorbones_was_here <bones_was_here@xonotic.au>
Tue, 27 Dec 2022 16:07:36 +0000 (02:07 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Tue, 27 Dec 2022 16:13:01 +0000 (02:13 +1000)
commitc9c3b30b8d55da2488809545ca7220736dfec9b7
treef4efed8382f0419124b83e352b924680d26f6588
parentcf8fa2cc22e6bd3393131b59caabec16da8b3c1f
trigger_hurt q3compat: always damage player at 20hz in "fast" mode

Although Q3A and Q3TA damage the player at the ticrate, CPMA and DeFRaG
hard-code trigger_hurt to 20hz (matching Q3A/Q3TA default ticrate) to
make gameplay consistent across all ticrates.

On higher ticrate servers, this fixes the torches on dfwc04-3, the lava
on ct3dm5, etc.
qcsrc/common/mapobjects/trigger/hurt.qc