From b026b7a8808a7e97a57fae5a07563b7456e79282 Mon Sep 17 00:00:00 2001 From: Blue Shadow Date: Tue, 4 Jun 2019 23:24:31 +0300 Subject: [PATCH] - fixed PlaySpawnSound call in A_ThrowGrenade --- wadsrc/static/zscript/actors/attacks.zs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/actors/attacks.zs b/wadsrc/static/zscript/actors/attacks.zs index f2c038f87..be1ec3e16 100644 --- a/wadsrc/static/zscript/actors/attacks.zs +++ b/wadsrc/static/zscript/actors/attacks.zs @@ -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.));