Enemy hogs should at least try to get to you in low gravity
authornemo
Thu, 22 Feb 2018 20:10:22 -0500
changeset 13058 004f4f7dc9d4
parent 13057 8b44518d1002
child 13059 2f21d92eae27
Enemy hogs should at least try to get to you in low gravity
hedgewars/uGearsHandlersMess.pas
--- a/hedgewars/uGearsHandlersMess.pas	Thu Feb 22 02:24:42 2018 +0100
+++ b/hedgewars/uGearsHandlersMess.pas	Thu Feb 22 20:10:22 2018 -0500
@@ -3487,7 +3487,7 @@
                         dX:= _50 * cGravity * ((Gear^.X + int2hwFloat(RightX-LeftX)) - X) / _25
                     else
                         dX:= _50 * cGravity * ((Gear^.X - int2hwFloat(RightX-LeftX)) - X) / _25;
-                    dY:= -_450 * cGravity;
+                    dY:= -_450 * cMaxWindSpeed * 2;
                     Active:= true;
                     end
                 else if Hedgehog^.Effects[heFrozen] > 255 then