WEAPON_TRIPMINE: use Destroy() instead of remove()

This commit is contained in:
Marco Cawthorne 2023-01-17 22:03:39 -08:00
parent ed30225de7
commit dfeff42e6a
Signed by: eukara
GPG key ID: CE2032F0A2882A22

View file

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