changeset 5470 | b07eb408c5e4 |
parent 5461 | 3c2d4e46440f |
child 5474 | d5b392e02403 |
--- a/hedgewars/GSHandlers.inc Wed Jul 27 08:51:16 2011 -0400 +++ b/hedgewars/GSHandlers.inc Wed Jul 27 08:52:29 2011 -0400 @@ -356,7 +356,7 @@ else Gear^.State := Gear^.State or gstMoving; - if (Gear^.nImpactSounds > 0) and (Gear^.ImpactSound <> sndNone) and + if (Gear^.nImpactSounds > 0) and ((Gear^.Damage <> 0) or ((Gear^.State and (gstCollision or gstMoving)) = (gstCollision or gstMoving))) and ((Gear^.dX.QWordValue > _0_1.QWordValue) or