# HG changeset patch # User nemo # Date 1255634210 0 # Node ID 34a484b2ddd623627373c8b707f3edb585c2b090 # Parent fa3ddd1ff2a19822077ac3fbaa488046f144c122 Play shotgun for weapon crates. Suggestion by Smaxx. Using "placed" for health/utility - could use a prettier sound for health now that there are health animation diff -r fa3ddd1ff2a1 -r 34a484b2ddd6 hedgewars/HHHandlers.inc --- a/hedgewars/HHHandlers.inc Thu Oct 15 19:14:22 2009 +0000 +++ b/hedgewars/HHHandlers.inc Thu Oct 15 19:16:50 2009 +0000 @@ -301,6 +301,8 @@ i: Integer; begin Gear^.Message:= gm_Destroy; +if Gear^.Pos = posCaseAmmo then PlaySound(sndShotgunFire, false, nil) +else PlaySound(sndPlaced, false, nil); case Gear^.Pos of posCaseUtility, posCaseAmmo: begin