From: bones_was_here Date: Sun, 25 Jul 2021 07:39:50 +0000 (+1000) Subject: Preserve comment for item_armor1 X-Git-Tag: xonotic-v0.8.5~352^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=18f0e41a5c2b1fb64161157c974688f401b79211;p=xonotic%2Fxonotic-data.pk3dir.git Preserve comment for item_armor1 --- diff --git a/qcsrc/server/items/spawning.qc b/qcsrc/server/items/spawning.qc index 4c5b9d17a..11bf67f5e 100644 --- a/qcsrc/server/items/spawning.qc +++ b/qcsrc/server/items/spawning.qc @@ -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)