hedgewars/GSHandlers.inc
changeset 3203 e98ac205ba29
parent 3180 724e094a8912
child 3216 d94262b521ae
--- a/hedgewars/GSHandlers.inc	Wed Mar 31 11:00:30 2010 +0000
+++ b/hedgewars/GSHandlers.inc	Wed Mar 31 11:34:58 2010 +0000
@@ -242,7 +242,7 @@
 if (Gear^.nImpactSounds > 0) then
     if ((Gear^.Damage <> 0) or ((Gear^.State and (gstCollision or gstMoving)) = (gstCollision or gstMoving))) and
        ((Gear^.dX.QWordValue > _0_1.QWordValue) or (Gear^.dY.QWordValue > _0_1.QWordValue)) then
-        PlaySound(TSound(ord(Gear^.ImpactSound) + LongInt(GetRandom(Gear^.nImpactSounds))));
+        PlaySound(TSound(ord(Gear^.ImpactSound) + LongInt(GetRandom(Gear^.nImpactSounds))), true);
 end;
 
 ////////////////////////////////////////////////////////////////////////////////