hedgewars/HHHandlers.inc
changeset 282 b1e3387389b6
parent 263 36379e6abcdd
child 285 cdab49768c83
equal deleted inserted replaced
281:5b483aa9f2ab 282:b1e3387389b6
    43              end;
    43              end;
    44         if ((Message and gm_Attack) <> 0) then exit;
    44         if ((Message and gm_Attack) <> 0) then exit;
    45         
    45         
    46         if (Ammo[CurSlot, CurAmmo].Propz and ammoprop_Power) <> 0 then
    46         if (Ammo[CurSlot, CurAmmo].Propz and ammoprop_Power) <> 0 then
    47            begin
    47            begin
    48            StopTPUSound;
    48            StopSound(sndThrowPowerUp);
    49            PlaySound(sndThrowRelease);
    49            PlaySound(sndThrowRelease);
    50            end;
    50            end;
    51         xx:= hwSign(dX)*Sin(Angle*pi/cMaxAngle);
    51         xx:= hwSign(dX)*Sin(Angle*pi/cMaxAngle);
    52         yy:= -Cos(Angle*pi/cMaxAngle);
    52         yy:= -Cos(Angle*pi/cMaxAngle);
    53              case Ammo[CurSlot, CurAmmo].AmmoType of
    53              case Ammo[CurSlot, CurAmmo].AmmoType of