- fixed PlaySpawnSound call in A_ThrowGrenade

This commit is contained in:
Blue Shadow 2019-06-04 23:24:31 +03:00 committed by alexey.lysiuk
parent 87c426dcfd
commit b026b7a880

View file

@ -492,7 +492,7 @@ extend class Actor
let bo = Spawn(missile, pos + (0, 0, (-Floorclip + GetBobOffset() + zheight + 35 + (player? player.crouchoffset : 0.))), ALLOW_REPLACE);
if (bo)
{
bo.PlaySpawnSound(self);
self.PlaySpawnSound(bo);
if (xyvel != 0)
bo.Speed = xyvel;
bo.Angle = Angle + (random[grenade](-4, 3) * (360./256.));