mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- fixed PlaySpawnSound call in A_ThrowGrenade
This commit is contained in:
parent
87c426dcfd
commit
b026b7a880
1 changed files with 1 additions and 1 deletions
|
@ -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.));
|
||||
|
|
Loading…
Reference in a new issue