Skip to content

Commit

Permalink
- fixed PlaySpawnSound call in A_ThrowGrenade
Browse files Browse the repository at this point in the history
  • Loading branch information
Blue-Shadow authored and madame-rachelle committed Jun 7, 2019
1 parent 4161ef7 commit 6e77645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wadsrc/static/zscript/actors/attacks.zs
Expand Up @@ -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.));
Expand Down

0 comments on commit 6e77645

Please sign in to comment.