From dfeff42e6ab3826f8e003ba7dffbc872fb6e8cbe Mon Sep 17 00:00:00 2001 From: Marco Cawthorne Date: Tue, 17 Jan 2023 22:03:39 -0800 Subject: [PATCH] WEAPON_TRIPMINE: use Destroy() instead of remove() --- src/shared/w_tripmine.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/w_tripmine.qc b/src/shared/w_tripmine.qc index 7c91e0d..99e164f 100644 --- a/src/shared/w_tripmine.qc +++ b/src/shared/w_tripmine.qc @@ -85,7 +85,7 @@ monster_tripmine::Trip(int walkthrough) FX_Explosion(origin); Damage_Radius(origin, real_owner, dmg, dmg * 2.5f, TRUE, WEAPON_TRIPMINE); sound(this, CHAN_WEAPON, sprintf("weapons/explode%d.wav", floor(random() * 2) + 3), 1, ATTN_NORM); - remove(this); + Destroy(); } void