From 18f0e41a5c2b1fb64161157c974688f401b79211 Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Sun, 25 Jul 2021 17:39:50 +1000 Subject: [PATCH] Preserve comment for item_armor1 --- qcsrc/server/items/spawning.qc | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.2