Fix the "weapon sounds stuck playing after death/drop" problem at the core UTWeapon class.
This commit is contained in:
parent
9e537f6159
commit
4bbc308eaf
4 changed files with 10 additions and 9 deletions
|
|
@ -199,11 +199,6 @@ Class ImpactHammer : UTWeapon
|
|||
s.scale *= 0.4;
|
||||
}
|
||||
}
|
||||
override void DetachFromOwner()
|
||||
{
|
||||
if ( Owner ) Owner.A_StopSound(CHAN_WEAPON);
|
||||
Super.DetachFromOwner();
|
||||
}
|
||||
|
||||
Default
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue