restore prior modifier. I think the damage dealt is appropriate to intended uses
authornemo
Mon, 11 Feb 2013 17:09:35 -0500
changeset 8501 9f70e6f7fb63
parent 8500 7a20d3142284
child 8502 fb8d914e76d8
restore prior modifier. I think the damage dealt is appropriate to intended uses
hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Tue Jan 29 16:18:36 2013 +0100
+++ b/hedgewars/GSHandlers.inc	Mon Feb 11 17:09:35 2013 -0500
@@ -5287,7 +5287,7 @@
         DeleteCI(Gear);
         Gear^.Radius:= 7;
         // used for damage and impact calc. needs balancing I think
-        Gear^.Health:= hwRound(hwSqr((hwAbs(Gear^.dY)+hwAbs(Gear^.dX))*_3_2));
+        Gear^.Health:= hwRound(hwSqr((hwAbs(Gear^.dY)+hwAbs(Gear^.dX))*_4));
         doStepFallingGear(Gear);
         AllInactive := false;
         a:= Gear^.DirAngle;