--- 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);