]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Gives instagib items actual spawnfuncs.
authorLyberta <lyberta@lyberta.net>
Tue, 10 Oct 2017 19:07:30 +0000 (22:07 +0300)
committerLyberta <lyberta@lyberta.net>
Tue, 10 Oct 2017 19:07:30 +0000 (22:07 +0300)
qcsrc/common/mutators/mutator/instagib/items.qh

index 7e0dfc066427e12fb90d36e6c2b243a0756aafd2..597fddc11e2fee1a4eb99a97aaf679dccb6fd975 100644 (file)
@@ -64,6 +64,8 @@ REGISTER_ITEM(ExtraLife, Powerup) {
     this.m_itemid               =   IT_NAILS;
 }
 
+SPAWNFUNC_ITEM(item_extralife, ITEM_ExtraLife)
+
 #ifdef GAMEQC
 MODEL(Invisibility_ITEM, Item_Model("g_strength.md3"));
 SOUND(Invisibility, Item_Sound("powerup"));
@@ -96,6 +98,8 @@ REGISTER_ITEM(Invisibility, Powerup) {
 #endif
 }
 
+SPAWNFUNC_ITEM(item_invisibility, ITEM_Invisibility)
+
 #ifdef GAMEQC
 MODEL(Speed_ITEM, Item_Model("g_invincible.md3"));
 SOUND(Speed, Item_Sound("powerup_shield"));
@@ -127,3 +131,5 @@ REGISTER_ITEM(Speed, Powerup) {
     this.m_iteminit         =   powerup_speed_init;
 #endif
 }
+
+SPAWNFUNC_ITEM(item_speed, ITEM_Speed)