WEAPON_TRIPMINE: use Destroy() instead of remove()
This commit is contained in:
parent
ed30225de7
commit
dfeff42e6a
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ monster_tripmine::Trip(int walkthrough)
|
||||||
FX_Explosion(origin);
|
FX_Explosion(origin);
|
||||||
Damage_Radius(origin, real_owner, dmg, dmg * 2.5f, TRUE, WEAPON_TRIPMINE);
|
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);
|
sound(this, CHAN_WEAPON, sprintf("weapons/explode%d.wav", floor(random() * 2) + 3), 1, ATTN_NORM);
|
||||||
remove(this);
|
Destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue