From df5e7bc623e36277ef1731a4f2be0b9dd2d495cc Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 25 Apr 2025 20:47:33 +1000 Subject: [PATCH] Filter out Overkill weapons from weapon impulse alias creation --- qcsrc/common/weapons/all.qh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/common/weapons/all.qh b/qcsrc/common/weapons/all.qh index 85b95243f2..2b6d4128d1 100644 --- a/qcsrc/common/weapons/all.qh +++ b/qcsrc/common/weapons/all.qh @@ -344,8 +344,8 @@ STATIC_INIT(register_weapons_done) if (it.spawnflags & WEP_FLAG_SUPERWEAPON) WEPSET_SUPERWEAPONS |= set; if (it == WEP_Null) continue; if (it.spawnflags & WEP_FLAG_SPECIALATTACK) continue; - // TODO: this exists to filter out the Ball Stealer, otherwise we run out of impulses - if ((it.spawnflags & WEP_FLAG_MUTATORBLOCKED) && (it.spawnflags & WEP_TYPE_OTHER)) continue; + // TODO: this exists to filter out the Overkill mutator weapons, see issue #2268 + if ((it.spawnflags & WEP_FLAG_MUTATORBLOCKED) && (it.spawnflags & WEP_FLAG_HIDDEN)) continue; it.m_unique_impulse = imp; if (imp <= WEP_IMPULSE_END) -- 2.39.5