hedgewars/GSHandlers.inc
changeset 2726 a84fc5113d01
parent 2713 71250942e95b
child 2730 f56592281526
--- a/hedgewars/GSHandlers.inc	Sat Jan 30 18:23:42 2010 +0000
+++ b/hedgewars/GSHandlers.inc	Sun Jan 31 16:20:53 2010 +0000
@@ -98,7 +98,7 @@
 	else
 		PlaySound(sndOw1, false, PHedgehog(Gear^.Hedgehog)^.Team^.voicepack);
 
-	dmg:= modifyDamage(1 + hwRound((hwAbs(Gear^.dY) - _0_4) * 70));
+	dmg:= ModifyDamage(1 + hwRound((hwAbs(Gear^.dY) - _0_4) * 70), Gear);
     ApplyDamage(Gear, dmg);
 	end
 end;