# HG changeset patch # User alfadur # Date 1540601881 -10800 # Node ID a24c4a051960ab34f5ea941d250b8e6c93b8b1b3 # Parent 23fb123bd70cb94308ddab9c3c23db3571944026 Tweak firepunch sound that Wuzzy found diff -r 23fb123bd70c -r a24c4a051960 hedgewars/uGearsUtils.pas --- a/hedgewars/uGearsUtils.pas Sat Oct 27 00:01:53 2018 +0200 +++ b/hedgewars/uGearsUtils.pas Sat Oct 27 03:58:01 2018 +0300 @@ -1346,6 +1346,9 @@ gtExplosives: //, //gtStructure: begin + if Ammo^.Kind = gtFirePunch then + PlaySound(sndFirePunchHit); + if Ammo^.Kind in [gtDEagleShot, gtSniperRifleShot, gtMinigunBullet] then begin VGear := AddVisualGear(t^.cX[i], t^.cY[i], vgtBulletHit); diff -r 23fb123bd70c -r a24c4a051960 hedgewars/uSound.pas --- a/hedgewars/uSound.pas Sat Oct 27 00:01:53 2018 +0200 +++ b/hedgewars/uSound.pas Sat Oct 27 03:58:01 2018 +0300 @@ -304,7 +304,8 @@ (FileName: 'landgun.ogg'; Path: ptSounds; AltPath: ptNone),// sndLandGun (FileName: 'graveimpact.ogg'; Path: ptSounds; AltPath: ptNone),// sndCaseImpact // TODO: New Extra Damage sound - (FileName: 'hell_ugh.ogg'; Path: ptSounds; AltPath: ptNone) // sndExtraDamage + (FileName: 'hell_ugh.ogg'; Path: ptSounds; AltPath: ptNone),// sndExtraDamage + (FileName: 'firepunch_hit.ogg'; Path: ptSounds; AltPath: ptNone) // sndFirePunchHit ); diff -r 23fb123bd70c -r a24c4a051960 hedgewars/uTypes.pas --- a/hedgewars/uTypes.pas Sat Oct 27 00:01:53 2018 +0200 +++ b/hedgewars/uTypes.pas Sat Oct 27 03:58:01 2018 +0300 @@ -152,7 +152,7 @@ sndPortalOpen, sndBlowTorch, sndCountdown1, sndCountdown2, sndCountdown3, sndCountdown4, sndCreeperDrop, sndCreeperWater, sndCreeperDie, sndCustom1, sndCustom2, sndCustom3, sndCustom4, sndCustom5, sndCustom6, sndCustom7, sndCustom8, sndMinigun, sndFlamethrower, sndIceBeamIdle, - sndLandGun, sndCaseImpact, sndExtraDamage); + sndLandGun, sndCaseImpact, sndExtraDamage, sndFirePunchHit); // Available ammo types to be used by hedgehogs TAmmoType = (amNothing, amGrenade, amClusterBomb, amBazooka, amBee, amShotgun, amPickHammer, // 6 diff -r 23fb123bd70c -r a24c4a051960 share/hedgewars/Data/Sounds/firepunch_hit.ogg Binary file share/hedgewars/Data/Sounds/firepunch_hit.ogg has changed