From cb00d2ccf2be8dd50fc62faf091c6711eea9c4db Mon Sep 17 00:00:00 2001 From: cypress Date: Sun, 14 Apr 2024 22:10:12 -0700 Subject: [PATCH] SERVER: Allow Grenade contact to inflict damage --- source/server/weapons/weapon_core.qc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/server/weapons/weapon_core.qc b/source/server/weapons/weapon_core.qc index 7c8b4e5..30ce183 100644 --- a/source/server/weapons/weapon_core.qc +++ b/source/server/weapons/weapon_core.qc @@ -1322,6 +1322,10 @@ void() NadeStraighten = }; void() Velocity_reduce = { + // Do one (1) damage on monster contact, to kill when Insta-Kill is active. + if (other.flags & FL_MONSTER) + DamageHandler(other, self.owner, 1, S_NORMAL); + if (!other.solid || other.solid == SOLID_TRIGGER) if (other != world) return;