From: Mario Date: Sun, 5 Jan 2025 01:30:01 +0000 (+1000) Subject: Restore the ability to spawn hidden weapons in maps X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F1420%2Fhead;p=xonotic%2Fxonotic-data.pk3dir.git Restore the ability to spawn hidden weapons in maps --- diff --git a/qcsrc/server/weapons/spawning.qc b/qcsrc/server/weapons/spawning.qc index 8ce5c570b..d8930c33d 100644 --- a/qcsrc/server/weapons/spawning.qc +++ b/qcsrc/server/weapons/spawning.qc @@ -33,7 +33,7 @@ void weapon_defaultspawnfunc(entity this, Weapon wpn) this.classname = wpn.m_canonical_spawnfunc; if (!ITEM_IS_LOOT(this) && !this.m_isreplaced) { - if (wpn.spawnflags & (WEP_FLAG_MUTATORBLOCKED | WEP_FLAG_HIDDEN)) + if (wpn.spawnflags & WEP_FLAG_MUTATORBLOCKED) { //LOG_WARNF("Attempted to spawn a mutator-blocked weapon rejected: prvm_edict server %i", this); startitem_failed = true;