hedgewars/GSHandlers.inc
changeset 2726 a84fc5113d01
parent 2713 71250942e95b
child 2730 f56592281526
equal deleted inserted replaced
2725:89908847b155 2726:a84fc5113d01
    96 	if _0_6 < Gear^.dY then
    96 	if _0_6 < Gear^.dY then
    97 		PlaySound(sndOw4, false, PHedgehog(Gear^.Hedgehog)^.Team^.voicepack)
    97 		PlaySound(sndOw4, false, PHedgehog(Gear^.Hedgehog)^.Team^.voicepack)
    98 	else
    98 	else
    99 		PlaySound(sndOw1, false, PHedgehog(Gear^.Hedgehog)^.Team^.voicepack);
    99 		PlaySound(sndOw1, false, PHedgehog(Gear^.Hedgehog)^.Team^.voicepack);
   100 
   100 
   101 	dmg:= modifyDamage(1 + hwRound((hwAbs(Gear^.dY) - _0_4) * 70));
   101 	dmg:= ModifyDamage(1 + hwRound((hwAbs(Gear^.dY) - _0_4) * 70), Gear);
   102     ApplyDamage(Gear, dmg);
   102     ApplyDamage(Gear, dmg);
   103 	end
   103 	end
   104 end;
   104 end;
   105 
   105 
   106 ////////////////////////////////////////////////////////////////////////////////
   106 ////////////////////////////////////////////////////////////////////////////////