]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Fix trigger_push and trigger_impulse prediction
authorbones_was_here <bones_was_here@xonotic.au>
Sat, 3 Jun 2023 18:01:22 +0000 (04:01 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Sat, 3 Jun 2023 18:18:06 +0000 (04:18 +1000)
commit927b760f9f7b29ca15195db9089779ee37c8791e
tree516b39edf097e97ca484ad980653d82c7a9ca2a2
parentde73cb2cbef247dc616e02166e3b686f2d4a934b
Fix trigger_push and trigger_impulse prediction

It's a bit awkward that some triggers require the model field unset and
others require it unchanged, so rather than having duplicated code that
restores it after it was unset, an argument is added to control that
behaviour.

This should have been included in 2b46f62db61e8ca869fc591d9ebe4053c3e876d7
and/or 0f843f8c9e7891ba3029ac5a18c6ebebde3a30da

See also: https://gitlab.com/xonotic/xonotic-data.pk3dir/-/issues/2838
qcsrc/common/mapobjects/func/ladder.qc
qcsrc/common/mapobjects/trigger/impulse.qc
qcsrc/common/mapobjects/trigger/jumppads.qc
qcsrc/lib/warpzone/common.qh
qcsrc/lib/warpzone/server.qc
qcsrc/lib/warpzone/util_server.qc
qcsrc/lib/warpzone/util_server.qh