projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e55e365
)
Restore the ability to spawn hidden weapons in maps
1420/head
author
Mario <mario.mario@y7mail.com>
Sun, 5 Jan 2025 01:30:01 +0000
(11:30 +1000)
committer
Mario <mario.mario@y7mail.com>
Sun, 5 Jan 2025 01:30:01 +0000
(11:30 +1000)
qcsrc/server/weapons/spawning.qc
patch
|
blob
|
history
diff --git
a/qcsrc/server/weapons/spawning.qc
b/qcsrc/server/weapons/spawning.qc
index 8ce5c570b9dcc1ed462cbc2fbce883524bfdbef7..d8930c33d09d2041c19079115a91882b2a0a211c 100644
(file)
--- 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;