hedgewars/HHHandlers.inc
changeset 3991 82e4a5ef18f7
parent 3970 0f6e3219c108
child 4015 2897cf5730e7
--- a/hedgewars/HHHandlers.inc	Thu Oct 21 23:12:02 2010 +0200
+++ b/hedgewars/HHHandlers.inc	Sat Oct 23 14:10:23 2010 +0200
@@ -268,9 +268,11 @@
                                PauseMusic
                                end;
                       amFlamethrower: CurAmmoGear:= AddGear(hwRound(X), hwRound(Y), gtFlamethrower,  0, xx * _0_5, yy * _0_5, 0);
-                    amResurrector: CurAmmoGear:= AddGear(hwRound(lx),
-                                           hwRound(ly), gtResurrector, 0, _0,
-                                           _0, 0);
+                    amResurrector: begin
+                        CurAmmoGear:= AddGear(hwRound(lx), hwRound(ly),
+                                gtResurrector, 0, _0, _0, 0);
+                        CurAmmoGear^.SoundChannel := LoopSound(sndResurrector);
+                    end;
                   end;
 
         uStats.AmmoUsed(CurAmmoType);