SERVER: Allow Grenade contact to inflict damage

This commit is contained in:
cypress 2024-04-14 22:10:12 -07:00
parent d94ce26392
commit cb00d2ccf2

View file

@ -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;