From: bones_was_here Date: Wed, 21 Jul 2021 08:21:02 +0000 (+1000) Subject: target_give: support count fields of speed and invis powerups X-Git-Tag: xonotic-v0.8.5~352^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=334279a77dad6e35b0fc3691d1298a9a4f40c642;p=xonotic%2Fxonotic-data.pk3dir.git target_give: support count fields of speed and invis powerups --- diff --git a/qcsrc/server/compat/quake3.qc b/qcsrc/server/compat/quake3.qc index e65cbdba3..32c42d354 100644 --- a/qcsrc/server/compat/quake3.qc +++ b/qcsrc/server/compat/quake3.qc @@ -225,6 +225,10 @@ void target_give_init(entity this) this.invincible_finished += it.invincible_finished; else if (it.strength_finished) this.strength_finished += it.strength_finished; + else if (it.speed_finished) + this.speed_finished += it.speed_finished; + else if (it.invisibility_finished) + this.invisibility_finished += it.invisibility_finished; else if (it.health) this.health += it.health; else if (it.armorvalue)