]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/items/item/armor.qc
Replace `IF(ALL,` with `APPLY(`
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / item / armor.qc
index 8cbc9cd8a2905ed2724f5bfb5e8b6b5d65eb1d41..4a3c9c022076de186edcf6b3781ff9d7006e3f52 100644 (file)
@@ -8,7 +8,7 @@
 #define DEFINE(id, ...) REGISTER_ITEM(id, Armor, MAP(IDENTITY, __VA_ARGS__))
 
 DEFINE(ArmorSmall
-    ,IF(ALL, CONFIGURE
+    ,APPLY(CONFIGURE
     ,   model               =   "models/items/item_armor_small.md3"
     ,   sound               =   "misc/armor1.wav"
     ,   name                =   "5 Armor"
@@ -22,7 +22,7 @@ DEFINE(ArmorSmall
 )
 
 DEFINE(ArmorMedium
-    ,IF(ALL, CONFIGURE
+    ,APPLY(CONFIGURE
     ,   model               =   "models/items/item_armor_medium.md3"
     ,   sound               =   "misc/armor10.wav"
     ,   name                =   "25 Armor"
@@ -36,7 +36,7 @@ DEFINE(ArmorMedium
 )
 
 DEFINE(ArmorBig
-    ,IF(ALL, CONFIGURE
+    ,APPLY(CONFIGURE
     ,   model               =   "models/items/item_armor_big.md3"
     ,   sound               =   "misc/armor17_5.wav"
     ,   name                =   "50 Armor"
@@ -50,7 +50,7 @@ DEFINE(ArmorBig
 )
 
 DEFINE(ArmorLarge
-    ,IF(ALL, CONFIGURE
+    ,APPLY(CONFIGURE
     ,   model               =   "models/items/item_armor_large.md3"
     ,   sound               =   "misc/armor25.wav"
     ,   name                =   "100 Armor"