From 5e3bdd5ef1f51dc082a3af2c1277ba82f81654a5 Mon Sep 17 00:00:00 2001 From: Lyberta Date: Sun, 8 Oct 2017 17:57:43 +0300 Subject: [PATCH] Give instagib items canonical spawnfuncs. --- qcsrc/common/mutators/mutator/instagib/items.qh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcsrc/common/mutators/mutator/instagib/items.qh b/qcsrc/common/mutators/mutator/instagib/items.qh index 34ab62525..ac2761bd5 100644 --- a/qcsrc/common/mutators/mutator/instagib/items.qh +++ b/qcsrc/common/mutators/mutator/instagib/items.qh @@ -50,6 +50,7 @@ SOUND(ExtraLife, Item_Sound("megahealth")); #endif REGISTER_ITEM(ExtraLife, Powerup) { + this.m_canonical_spawnfunc = "item_extralife"; #ifdef GAMEQC this.m_model = MDL_ExtraLife_ITEM; this.m_sound = SND_ExtraLife; @@ -69,6 +70,7 @@ SOUND(Invisibility, Item_Sound("powerup")); #endif REGISTER_ITEM(Invisibility, Powerup) { + this.m_canonical_spawnfunc = "item_invisibility"; #ifdef GAMEQC this.m_model = MDL_Invisibility_ITEM; this.m_sound = SND_Invisibility; @@ -88,6 +90,7 @@ SOUND(Speed, Item_Sound("powerup_shield")); #endif REGISTER_ITEM(Speed, Powerup) { + this.m_canonical_spawnfunc = "item_speed"; #ifdef GAMEQC this.m_model = MDL_Speed_ITEM; this.m_sound = SND_Speed; -- 2.39.2