]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/items/item/armor.qc
Remove SPAWNTIMES enum
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / item / armor.qc
index 15947704643ba22f278a93355846473a27ebc209..6d9561b1591166df405f185ff93c86e1dcfe7551 100644 (file)
@@ -14,8 +14,8 @@ DEFINE(ArmorSmall
     )
     ,IF(SV, CONFIGURE
     ,   botvalue            =   BOT_PICKUP_RATING_LOW
-    ,   respawntime         =   SPAWNTIME_SHORT
-    ,   respawntimejitter   =   SPAWNTIME_SHORT
+    ,   respawntime         =         g_pickup_respawntime_short
+    ,   respawntimejitter   =   g_pickup_respawntimejitter_short
     )
 )
 
@@ -28,8 +28,8 @@ DEFINE(ArmorMedium
     )
     ,IF(SV, CONFIGURE
     ,   botvalue            =   BOT_PICKUP_RATING_MID
-    ,   respawntime         =   SPAWNTIME_MEDIUM
-    ,   respawntimejitter   =   SPAWNTIME_MEDIUM
+    ,   respawntime         =         g_pickup_respawntime_medium
+    ,   respawntimejitter   =   g_pickup_respawntimejitter_medium
     )
 )
 
@@ -42,8 +42,8 @@ DEFINE(ArmorBig
     )
     ,IF(SV, CONFIGURE
     ,   botvalue            =   20000 // FIXME: higher than BOT_PICKUP_RATING_HIGH?
-    ,   respawntime         =   SPAWNTIME_LONG
-    ,   respawntimejitter   =   SPAWNTIME_LONG
+    ,   respawntime         =         g_pickup_respawntime_long
+    ,   respawntimejitter   =   g_pickup_respawntimejitter_long
     )
 )
 
@@ -56,8 +56,8 @@ DEFINE(ArmorLarge
     )
     ,IF(SV, CONFIGURE
     ,   botvalue            =   BOT_PICKUP_RATING_HIGH
-    ,   respawntime         =   SPAWNTIME_LONG
-    ,   respawntimejitter   =   SPAWNTIME_LONG
+    ,   respawntime         =         g_pickup_respawntime_long
+    ,   respawntimejitter   =   g_pickup_respawntimejitter_long
     )
 )