]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/items/item/powerup.qc
Replace `IF(ALL,` with `APPLY(`
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / item / powerup.qc
index 9100e0bb3643430a4fe5cb84a2b8e8948e7dead3..ca54fa73f8c8254f9732c2ddd9f3897a812f0cff 100644 (file)
@@ -15,7 +15,7 @@
     ))
 
 DEFINE(Strength
-    ,IF(ALL, CONFIGURE
+    ,APPLY(CONFIGURE
     ,   model               =   "models/items/g_strength.md3"
     ,   sound               =   "misc/powerup.wav"
     ,   name                =   "Strength Powerup"
@@ -25,7 +25,7 @@ DEFINE(Strength
     )
 )
 DEFINE(Shield
-    ,IF(ALL, CONFIGURE
+    ,APPLY(CONFIGURE
     ,   model               =   "models/items/g_invincible.md3"
     ,   sound               =   "misc/powerup_shield.wav"
     ,   name                =   "Shield"