From fd46136e6acc0b843c4c89e1addbea496dbe5ad8 Mon Sep 17 00:00:00 2001 From: drjaska Date: Tue, 25 Apr 2023 00:42:20 +0300 Subject: [PATCH] restore item_buff_speed and item_buff_invisibility spawnfuncs --- qcsrc/common/mutators/mutator/powerups/powerup/invisibility.qh | 1 + qcsrc/common/mutators/mutator/powerups/powerup/speed.qh | 1 + 2 files changed, 2 insertions(+) diff --git a/qcsrc/common/mutators/mutator/powerups/powerup/invisibility.qh b/qcsrc/common/mutators/mutator/powerups/powerup/invisibility.qh index 53264eeb2..958c7bfc7 100644 --- a/qcsrc/common/mutators/mutator/powerups/powerup/invisibility.qh +++ b/qcsrc/common/mutators/mutator/powerups/powerup/invisibility.qh @@ -52,6 +52,7 @@ REGISTER_ITEM(Invisibility, Powerup) { } SPAWNFUNC_ITEM(item_invisibility, ITEM_Invisibility) +SPAWNFUNC_ITEM(item_buff_invisibility, ITEM_Invisibility) CLASS(Invisibility, Powerups) ATTRIB(Invisibility, netname, string, "invisibility"); diff --git a/qcsrc/common/mutators/mutator/powerups/powerup/speed.qh b/qcsrc/common/mutators/mutator/powerups/powerup/speed.qh index 4bda28e35..e3658e5f4 100644 --- a/qcsrc/common/mutators/mutator/powerups/powerup/speed.qh +++ b/qcsrc/common/mutators/mutator/powerups/powerup/speed.qh @@ -53,6 +53,7 @@ REGISTER_ITEM(Speed, Powerup) { } SPAWNFUNC_ITEM(item_speed, ITEM_Speed) +SPAWNFUNC_ITEM(item_buff_speed, ITEM_Speed) CLASS(Speed, Powerups) ATTRIB(Speed, netname, string, "speed"); -- 2.39.2