]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Preserve comment for item_armor1
authorbones_was_here <bones_was_here@xa.org.au>
Sun, 25 Jul 2021 07:39:50 +0000 (17:39 +1000)
committerbones_was_here <bones_was_here@xa.org.au>
Sun, 25 Jul 2021 07:39:50 +0000 (17:39 +1000)
qcsrc/server/items/spawning.qc

index 4c5b9d17aa8f0aa80ace15d8b44a1ae6255664ca..11bf67f5e8650a16133728aa35aa99ba15580b85 100644 (file)
@@ -132,6 +132,7 @@ void Item_SetExpiring(entity item, bool expiring)
 
 // Compatibility spawn functions
 
+// in Quake this is green armor, in Xonotic maps it is an armor shard
 SPAWNFUNC_ITEM_COND(item_armor1, cvar("sv_mapformat_is_quake3"), ITEM_ArmorSmall, ITEM_ArmorMedium)
 
 SPAWNFUNC_ITEM(item_armor25, ITEM_ArmorMega)