From: Lyberta Date: Sun, 8 Oct 2017 14:57:43 +0000 (+0300) Subject: Give instagib items canonical spawnfuncs. X-Git-Tag: xonotic-v0.8.5~2426^2~32 X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=5e3bdd5ef1f51dc082a3af2c1277ba82f81654a5;p=xonotic%2Fxonotic-data.pk3dir.git Give instagib items canonical spawnfuncs. --- 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;